From c63e33cba8ac917259bd3463636c40131a01eedb Mon Sep 17 00:00:00 2001 From: Someone Date: Sat, 21 Dec 2019 04:35:44 +0100 Subject: [PATCH] exclude all nextcloud instances. --- homeload.sh | 4 ++-- homestore.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeload.sh b/homeload.sh index 27811cf..3d4f70b 100755 --- a/homeload.sh +++ b/homeload.sh @@ -7,14 +7,14 @@ if [[ "$1" == "ALL" ]] ; then echo "ALL enabled! This will sync almost all data. Also cross-fs!" sleep $SLEEPTIME rsync -vapP --delete --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs/*.nosync' \ - --exclude='/Nextcloud' \ + --exclude='/Nextcloud*' \ "home.somenet.org:HOMESYNC_DATA/" "${HOME}/" elif [[ "$1" == "QUICK" ]] ; then echo "QUICK sync: Will skip VMs." sleep $SLEEPTIME rsync -vapPx --delete --sparse --exclude='/.**' --exclude='/Downloads' --exclude='/VirtualBox VMs' \ - --exclude='/Nextcloud' \ + --exclude='/Nextcloud*' \ "home.somenet.org:HOMESYNC_DATA/" "${HOME}/" else echo "Use ALL or QUICK! Doing nothing." diff --git a/homestore.sh b/homestore.sh index d541ecc..18f2893 100755 --- a/homestore.sh +++ b/homestore.sh @@ -7,14 +7,14 @@ 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' \ - --exclude='/Nextcloud' \ + --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' \ - --exclude='/Nextcloud' \ + --exclude='/Nextcloud*' \ "${HOME}/" "home.somenet.org:HOMESYNC_DATA/" else echo "Use ALL or QUICK! Doing nothing." -- 2.43.0