aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin/scripts/backup/bbackup
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-06-30 00:05:45 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-06-30 00:05:45 -0500
commitb95ae4c5c9ff4d693d6424cce8a0d579754c4202 (patch)
treeaa6385301fc4dce26d70bc473fd876c794fc5f74 /env/.local/bin/scripts/backup/bbackup
parent22b2eb9a952bf252af29eb5ed905de4bb62386a2 (diff)
- moved system scripts to here
- config changes - fixed my backup scripts. rsync -a - added dmenu script - fixed finds in env.sh
Diffstat (limited to 'env/.local/bin/scripts/backup/bbackup')
-rwxr-xr-xenv/.local/bin/scripts/backup/bbackup12
1 files changed, 3 insertions, 9 deletions
diff --git a/env/.local/bin/scripts/backup/bbackup b/env/.local/bin/scripts/backup/bbackup
index 0401eed..f5674f0 100755
--- a/env/.local/bin/scripts/backup/bbackup
+++ b/env/.local/bin/scripts/backup/bbackup
@@ -2,7 +2,7 @@ cd ~/
fsynca () {
# t?
- rsync -RUurvn --size-only --delete-after $exclude $syncfile "$target"
+ rsync -RUuavn --delete-after $exclude $syncfile "$target"
}
fsyncb () {
@@ -10,22 +10,16 @@ fsyncb () {
read -p "y/n: " uinput
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
printf "\n\n\n"
- rsync -RUurv --progress --size-only --delete-after $exclude $syncfile "$target"
+ rsync -RUuav --progress --delete-after $exclude $syncfile "$target"
printf "\n===end sync\n---------\n\n"
fi
}
syncfile="stuff .surf/styles .config/eDEX-UI/ .gnupg .ssh .local/bin/lf-gadgets .config/FreeTube .config/wlxoverlay .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .local/share/applications/custom .local/share/osu"
-# se shit
-syncfile="$syncfile /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Blueprints /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/IngameScripts /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Saves"
-
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
-exclude="--exclude node_modules --exclude node_modules_23 --exclude dontsync --exclude **/target --exclude LinVAM/pyenv"
+exclude="--exclude node_modules --exclude node_modules_23 --exclude **/target --exclude LinVAM/pyenv"
fsynca
-printf "==CC-survival unsynced?\n\n"
-printf "==osu unsynced\n\n"
-
fsyncb