diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-06-04 10:16:12 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-06-04 10:16:12 -0500 |
| commit | b69040fda091cb2a55e00c05e924cd0c0a42cb57 (patch) | |
| tree | 7b6c8282841c2f6a3767c12d5d8bd053847454e9 /env/.local/bin/scripts/backup/backup-flash | |
| parent | edf3d20945518c55394975b3641229124776d195 (diff) | |
fixed awesome autostart dir. added wallpaper setter script. made no extension be filetype sh in neovim. renamed some scripts.
Diffstat (limited to 'env/.local/bin/scripts/backup/backup-flash')
| -rwxr-xr-x | env/.local/bin/scripts/backup/backup-flash | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/env/.local/bin/scripts/backup/backup-flash b/env/.local/bin/scripts/backup/backup-flash new file mode 100755 index 0000000..c9ad023 --- /dev/null +++ b/env/.local/bin/scripts/backup/backup-flash @@ -0,0 +1,21 @@ +cd ~/stuff/scripts + +fsync () { + # t? + rsync -RUurvn --size-only --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" + printf "\n===end sync\n---------\n\n" + fi +} + +syncfile="LINUX-SERVER1 sites" + +#sync game stuff +target="/home/iceyrazor/u" +exclude="" + +fsync |
