From 2fdd1ca98ca83c71f44a525bfd81bc05e9574c96 Mon Sep 17 00:00:00 2001 From: Someone Date: Wed, 13 Jan 2021 00:01:19 +0100 Subject: [PATCH] homestore.sh --- homestore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homestore.sh b/homestore.sh index 01632d6..64e7ed4 100755 --- a/homestore.sh +++ b/homestore.sh @@ -6,14 +6,14 @@ echo "Will sync ${HOME} TO server in ${SLEEPTIME} sec..." if [[ "$1" == "ALL" ]] ; then echo "ALL enabled! This will sync almost all data. Also cross-fs!" sleep $SLEEPTIME - rsync -vapP --delete --delete-excluded --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs/*.nosync' \ + rsync -SPaHAXv --delete --delete-excluded --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs/*.nosync' \ --exclude='/Nextcloud*' \ "${HOME}/" "home.somenet.org:HOMESYNC_DATA/" elif [[ "$1" == "QUICK" ]] ; then echo "QUICK sync: Will skip VMs." sleep $SLEEPTIME - rsync -vapPx --delete --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs' \ + rsync -SPaHAXvx --delete --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs' \ --exclude='/Nextcloud*' \ "${HOME}/" "home.somenet.org:HOMESYNC_DATA/" else -- 2.43.0