- moved system scripts to here
- config changes - fixed my backup scripts. rsync -a - added dmenu script - fixed finds in env.sh
This commit is contained in:
4
env/.local/bin/scripts/backup/backup-flash
vendored
4
env/.local/bin/scripts/backup/backup-flash
vendored
@@ -2,12 +2,12 @@ cd ~/stuff/scripts
|
||||
|
||||
fsync () {
|
||||
# t?
|
||||
rsync -RUurvn --size-only --delete-after $exclude $syncfile "$target"
|
||||
rsync -RUuavn --delete-after $exclude $syncfile "$target"
|
||||
printf "===commit these changes?\n"
|
||||
read - "y/n: " uinput
|
||||
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
|
||||
printf "\n\n\n"
|
||||
rsync -RUurv --progress --size-only --delete-after $exclude $syncfile "$target"
|
||||
rsync -RUuav --progress --delete-after $exclude $syncfile "$target"
|
||||
printf "\n===end sync\n---------\n\n"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user