]> git.somenet.org - tools/homesync.git/blob - dotstore.sh
homestore.sh
[tools/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 -vaPpx --delete --delete-excluded --sparse --rsync-path='mkdir -p HOMESYNC_dots/'`hostname`' && rsync' --exclude='.cache' --exclude='.local/share/Trash' --include='.**' --exclude='*' "$HOME"/ "home.somenet.org:HOMESYNC_dots/`hostname`/"