4 echo "Will sync ${HOME} TO 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 -vapP --delete --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs/*.nosync' \
16 --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \
17 "${HOME}/" "home.somenet.org:HOMESYNC_DATA/"
19 rsync -vapPx --delete --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs/*.nosync' \
20 --exclude='/sync.opera/cache/**' --exclude='/sync.opera/application_cache/**' --exclude='/sync.opera/icons/**' \
21 "${HOME}/" "home.somenet.org:HOMESYNC_DATA/"