4 echo "Will sync ${HOME} FROM server in ${SLEEPTIME} sec..."
6 if [[ "$1" == "CROSSFS" ]] ; then
7 echo "CROSSFS sync enabled! This could be DANGEROUS!"
9 echo "CROSSFS sync disabled."
14 if [[ "$1" == "CROSSFS" ]] ; then
15 rsync -aHAvpP --delete --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs/*.nosync' \
16 --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \
17 "homesync.somenet.org:HOMESYNC_DATA/" "${HOME}/"
19 rsync -axHAvpP --delete --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs/*.nosync' \
20 --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \
21 "homesync.somenet.org:HOMESYNC_DATA/" "${HOME}/"