0:00 Intro
0:17 Overview
1:11 The problem
4:20 Approaches to solving the problem
5:53 The solution I have settled on
7:40 Finding the script's directory
9:13 How it works
16:33 A fallback in case determining script_dir fails
22:08 Conclusion
22:53 Outro
Bash Reference Manual - BASH_SOURCE: https://www.gnu.org/software/bash/man...
How do I get the directory where a Bash script is located from within the script itself? - Stack Overflow: https://stackoverflow.com/questions/5...
The Right Way to Get the Directory of a bash Script | The Ostrich: https://www.ostricher.com/2014/10/the...
Coreutils - GNU core utilities: https://www.gnu.org/software/coreutils/
Decoded: GNU coreutils – MaiZure's Projects: https://www.maizure.org/projects/deco...
My Bash projects that consist of multiple files:
ezedl: edit mpv EDL files conveniently (an mpv EDL preprocessor): • ezedl: edit mpv EDL files conveniently (an...
[Bash scripting #6] declare -p + pretty-declare-print: a better way to view values of Bash variables: • [Bash scripting #6] declare -p + pretty-de...
On this page of the site you can watch the video online [Bash scripting #8] Writing multi-file scripts (finding script's location & sourcing) with a duration of hours minute second in good quality, which was uploaded by the user Mindful Technology 22 May 2024, share the link with friends and acquaintances, this video has already been watched 375 times on youtube and it was liked by 5 viewers. Enjoy your viewing!