Files
dotfiles/env/.local/bin/scripts/backup/bbackup
iceyrazor 5c4872f306 Squashed commit of the following:
- auto game restart after killing game thread
    - detect_leaks 0 for dap
    - excludes to backup
    - fixed typo "suff"
    - another one
    - added new mime
    - added serv sync script
    - unset qt theme for mumble
    - switched to printf on kaomoji-picker
    - moved stuff from wayland to hyprland
    - keybind to kill GameThread
2025-12-12 22:57:51 -06:00

26 lines
978 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/cava .config/gajim/theme .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 --exclude stuff/custom-linux/LFN --exclude stuff/custom-linux/LFN-borked-lol --exclude stuff/.private-parent/.private/minecraft"
fsynca
fsyncb