aboutsummaryrefslogtreecommitdiff
path: root/stuff/scripts/system/backup
diff options
context:
space:
mode:
Diffstat (limited to 'stuff/scripts/system/backup')
-rwxr-xr-xstuff/scripts/system/backup/backup.sh9
-rwxr-xr-xstuff/scripts/system/backup/copy-to-git.sh8
2 files changed, 9 insertions, 8 deletions
diff --git a/stuff/scripts/system/backup/backup.sh b/stuff/scripts/system/backup/backup.sh
index 16559d1..3391ec6 100755
--- a/stuff/scripts/system/backup/backup.sh
+++ b/stuff/scripts/system/backup/backup.sh
@@ -15,11 +15,13 @@ fsyncb () {
fi
}
-syncfile="stuff .bash_profile .bashrc .surf .wezterm.lua .tmux.conf .gtkrc-2.0 .profile .urlview .vimrc .xinitrc .Xresources .zshrc .newsboat .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/awesome .config/gtk-3.0 .config/rofi .config/lf .config/picom.conf .config/nvim .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta"
+syncfile="stuff .bash_profile .bashrc .surf/styles .wezterm.lua .tmux.conf .gtkrc-2.0 .profile .urlview .vimrc .xinitrc .Xresources .zshrc .p10k.zsh .newsboat .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/awesome .config/wlxoverlay .config/vesktop/themes .config/gtk-3.0 .config/rofi .config/lf .config/mutt .config/zsh .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta .local/share/applications/custom"
+
+# 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"
-#sync game stuff
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
-exclude="--exclude **/cc-survival --exclude node_modules --exclude dontsync --exclude **/iceys-linux-stuffs"
+exclude="--exclude node_modules --exclude node_modules_23 --exclude dontsync --exclude **/iceys-linux-stuffs --exclude **/target --exclude LinVAM/pyenv"
fsynca
@@ -27,4 +29,3 @@ fsynca
printf "==CC-survival unsynced\n\n"
fsyncb
-
diff --git a/stuff/scripts/system/backup/copy-to-git.sh b/stuff/scripts/system/backup/copy-to-git.sh
index ad2a42d..921c051 100755
--- a/stuff/scripts/system/backup/copy-to-git.sh
+++ b/stuff/scripts/system/backup/copy-to-git.sh
@@ -1,21 +1,21 @@
cd ~/
fsync () {
- rsync -RUurvn --size-only --delete-after $exclude $syncfile "$target"
+ rsync -RUurvn --delete-after $exclude $syncfile "$target"
printf "===commit these changes?\n"
read -p "y/n: " uinput
if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then
printf "\n\n\n"
- rsync -PRUurv --size-only --delete-after $exclude $syncfile "$target"
+ rsync -PRUurv --delete-after $exclude $syncfile "$target"
printf "\n===end sync\n---------\n\n"
fi
}
-syncfile=".bash_profile .bashrc .gtkrc-2.0 .wezterm.lua .profile .urlview .vimrc .Xresources .zshrc .config/dwm .config/awesome .config/rofi .config/lf .config/picom.conf .config/nvim .config/screenkey.json stuff/manual-programs/suckless"
+syncfile=".bash_profile .bashrc .gtkrc-2.0 .tmux.conf .wezterm.lua .profile .urlview .vimrc .Xresources .zshrc .p10k.zsh .config/dwm .config/awesome .config/rofi .config/lf .config/picom.conf .config/nvim .config/atuin .config/screenkey.json stuff/manual-programs/suckless"
syncfile="$syncfile stuff/scripts/system/stbar stuff/scripts/system/url-handler.sh stuff/scripts/system/backup/copy-to-git.sh stuff/scripts/system/backup/backup.sh"
syncfile="$syncfile stuff/scripts/system/neoboot.sh stuff/scripts/system/math.sh stuff/scripts/system/bri.sh stuff/scripts/system/restart-pipe.sh stuff/scripts/system/set-pri-java.sh"
target=~/stuff/iceys-linux-stuffs
-exclude="--exclude check_weth.sh --exclude lua-ls-cc-tweaked --exclude .config/nvim/plugin"
+exclude="--exclude check_weth.sh --exclude awesome/default --exclude lua-ls-cc-tweaked --exclude .config/nvim/plugin"
fsync