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-flash | |
| 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-flash')
| -rwxr-xr-x | env/.local/bin/scripts/backup/backup-flash | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/env/.local/bin/scripts/backup/backup-flash b/env/.local/bin/scripts/backup/backup-flash index 051b6d6..2f078fa 100755 --- a/env/.local/bin/scripts/backup/backup-flash +++ b/env/.local/bin/scripts/backup/backup-flash @@ -1,10 +1,11 @@ #!/bin/sh -cd ~ +cd ~ || exit fsync () { rsync -RUuavn --delete-after $exclude $syncfile "$target" printf "===commit these 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" |
