diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-12-29 02:42:08 -0600 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-12-29 02:42:08 -0600 |
| commit | 0300e55167f1df80b6dddf946bb16a2c063b6d67 (patch) | |
| tree | 2fb07df62c530e15fabbd6bcfaf2d7f1bd73505f /env/.local/bin/scripts/backup/backup-flash-priv | |
| parent | 5c4872f306338944e0bbaa60db7157c5c828028d (diff) | |
Squashed commit of the following:
- set icons for mon2 in i3
- exluded a blender render dir
- two flash backup thingys
- lfrc filebrowser dectetion and formatting
- changed music dir for mpd
- moved browser backup to its own script. log too big
- added DIAGRAM_PLANTUML_CLASSPATH var for plantuml
- added web reqs script
- added asciidoc preview
- fixed ft_to_lang error by disabling treesitter in telescope
- copy media script
Diffstat (limited to 'env/.local/bin/scripts/backup/backup-flash-priv')
| -rwxr-xr-x | env/.local/bin/scripts/backup/backup-flash-priv | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/env/.local/bin/scripts/backup/backup-flash-priv b/env/.local/bin/scripts/backup/backup-flash-priv new file mode 100755 index 0000000..732d191 --- /dev/null +++ b/env/.local/bin/scripts/backup/backup-flash-priv @@ -0,0 +1,21 @@ +cd ~/stuff/scripts + +fsync () { + # t? + 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 -RUuav --progress --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 |
