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/bbackup-browser | |
| 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/bbackup-browser')
| -rwxr-xr-x | env/.local/bin/scripts/backup/bbackup-browser | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/env/.local/bin/scripts/backup/bbackup-browser b/env/.local/bin/scripts/backup/bbackup-browser new file mode 100755 index 0000000..b620656 --- /dev/null +++ b/env/.local/bin/scripts/backup/bbackup-browser @@ -0,0 +1,25 @@ +cd ~/ + +fsynca () { + # t? + rsync -RUuavn --delete-after $exclude $syncfile "$target" +} + +fsyncb () { + printf "===confirm changes?\n" + read -p "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=".librewolf" + +target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor" +exclude="" + +fsynca + +fsyncb |
