Files
dotfiles/env/.local/bin/scripts/backup/backup-tol
iceyrazor 143696c0a9 lots of changes
- changed music command
- added music to backup
- showmethekey more window rules
- added mpv config
- added seahorse to all reqs
- nvim
    - added render markdown
    - added treesitter. ive been using just my systems treesitter.
    - fixed undotree bind
    - removed eldritch theme. it broke
2025-07-19 14:39:56 -05:00

30 lines
846 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=".surf/styles .urlview .gnupg .local/bin/lf-gadgets .local/share/applications/custom .config/FreeTube .config/newsboat .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus stuff/notes stuff/openvpn-cons stuff/scripts stuff/media/ICE stuff/media/music"
#sync game stuff
target="laptop:~"
exclude="--exclude mediamtx.yml --exclude stream.sh --exclude node_modules --exclude **/target"
fsynca
printf "==CC-survival unsynced\n\n"
fsyncb