]> git.somenet.org - somenet/homesync.git/blob - dotstore.sh
working excludes.
[somenet/homesync.git] / dotstore.sh
1 #!/bin/bash
2
3 SLEEPTIME=5
4 echo "Will sync settings in ${HOME} TO server in ${SLEEPTIME} sec..."
5 sleep $SLEEPTIME
6 rsync -SPaHAXvx --delete --delete-excluded --rsync-path='mkdir -p HOMESYNC_dots/'`hostname`' && rsync' --exclude='.cache' --exclude='.local/share/Trash' --exclude='.local/share/containers' --exclude=".steam" "$HOME"/.[^.]* "home.somenet.org:HOMESYNC_dots/`hostname`/"