From b69040fda091cb2a55e00c05e924cd0c0a42cb57 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Wed, 4 Jun 2025 10:16:12 -0500 Subject: fixed awesome autostart dir. added wallpaper setter script. made no extension be filetype sh in neovim. renamed some scripts. --- env/.local/bin/scripts/backup/backup-flash | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 env/.local/bin/scripts/backup/backup-flash (limited to 'env/.local/bin/scripts/backup/backup-flash') 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 -- cgit v1.3