diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-06-10 00:48:19 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-06-10 00:48:19 -0500 |
| commit | 2097b0ebfdd07ae7a8295c26703d8d88ee7a5f8f (patch) | |
| tree | 97edcae29f2817f045e0fda462609679935a6fb1 /env/.local/bin/scripts/backup/backup-tol2 | |
| parent | 09156e6cea71093079af580acdd6d4a8594e14b9 (diff) | |
Squashed commit of the following:
made all scripts mostly posix
moved from gajim to dino
Diffstat (limited to 'env/.local/bin/scripts/backup/backup-tol2')
| -rwxr-xr-x | env/.local/bin/scripts/backup/backup-tol2 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/env/.local/bin/scripts/backup/backup-tol2 b/env/.local/bin/scripts/backup/backup-tol2 index 839f0af..3cf2adf 100755 --- a/env/.local/bin/scripts/backup/backup-tol2 +++ b/env/.local/bin/scripts/backup/backup-tol2 @@ -1,5 +1,5 @@ #!/bin/sh -cd ~/ +cd ~/ || exit fsynca () { # t? @@ -8,7 +8,8 @@ fsynca () { fsyncb () { printf "===confirm changes?\n" - read -p "y/n: " uinput + printf "y/n: " + read -r uinput if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then printf "\n\n\n" rsync -RUuav --progress --delete-after $exclude $syncfile "$target" |
