Back up your device without vendor lock-ins, using insecure software or root. Supports encryption and compression out of the box. Works cross-platform.
I think this is suboptimal. Let's assume that you make a change in helper.sh: On Unix, most editors create a backup file called helper.sh~. Due to the * in the above code, this backed-up file gets also loaded, and usually after the changed file, thus essentially cancelling any modifications.
A probably better way is to say
for f in "$DIR"/functions/*.sh; do source "$f"; done
In
backup.sh
, the subscripts are loaded withI think this is suboptimal. Let's assume that you make a change in
helper.sh
: On Unix, most editors create a backup file calledhelper.sh~
. Due to the*
in the above code, this backed-up file gets also loaded, and usually after the changed file, thus essentially cancelling any modifications.A probably better way is to say
instead.