fixed awesome autostart dir. added wallpaper setter script. made no extension be filetype sh in neovim. renamed some scripts.
This commit is contained in:
21
env/.local/bin/scripts/backup/backup-flash
vendored
Executable file
21
env/.local/bin/scripts/backup/backup-flash
vendored
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user