Files
dotfiles/env/.local/bin/scripts/backup/bbackup
iceyrazor 4cd0854592 Squashed commit of the following:
- added private autostart script
    - removed cmus from backup scripts
    - separated more req install commands
    - cava change
    - i3 and rmpc ricing
    - added mpd to arch install. removed cmus
    - added mpv-mpris to autostart
2025-10-29 18:23:00 -05:00

26 lines
850 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"
fsynca
fsyncb