]> git.somenet.org - somenet/homesync.git/blob - homeload.sh
rsync now uses -pP
[somenet/homesync.git] / homeload.sh
1 #!/bin/bash
2
3 SLEEPTIME=5
4 echo "Will sync ${HOME} FROM server in ${SLEEPTIME} sec..."
5 sleep $SLEEPTIME
6 rsync -aHAxvpP --delete --sparse --exclude='/.**' --exclude='/Downloads' \
7       --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \
8       -e 'ssh -p666' "homesync.somenet.org:HOMESYNC_DATA/" "${HOME}/"
9