Files
dotfiles/env/.local/bin/scripts/backup/bbackup
iceyrazor 83318afdb6 Squashed commit of the following:
- dusnt theme
    - readme fix?
    - removed librewolf from laptop backup. takes too long
    - wezterm var for wezterm
    - use p10kbar only if wezterm var
    - removed zsh entry in wezterm and tmux
    - moved to librewolf
    - backup changes
2025-07-30 03:03:50 -05:00

26 lines
843 B
Plaintext
Executable File

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="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 .librewolf"
target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor"
exclude="--exclude node_modules --exclude node_modules_23 --exclude **/target --exclude LinVAM/pyenv"
fsynca
fsyncb