From: Someone Date: Thu, 30 May 2024 23:17:51 +0000 (+0200) Subject: working excludes. X-Git-Url: https://git.somenet.org/somenet/homesync.git/commitdiff_plain?ds=inline working excludes. --- diff --git a/dotstore.sh b/dotstore.sh index 4f6a868..a85ad95 100755 --- a/dotstore.sh +++ b/dotstore.sh @@ -3,4 +3,4 @@ SLEEPTIME=5 echo "Will sync settings in ${HOME} TO server in ${SLEEPTIME} sec..." sleep $SLEEPTIME -rsync -vaPpx --delete --delete-excluded --sparse --rsync-path='mkdir -p HOMESYNC_dots/'`hostname`' && rsync' --exclude='.cache' --exclude='.local/share/Trash' --include='.**' --exclude='*' "$HOME"/ "home.somenet.org:HOMESYNC_dots/`hostname`/" +rsync -SPaHAXvx --delete --delete-excluded --rsync-path='mkdir -p HOMESYNC_dots/'`hostname`' && rsync' --exclude='.cache' --exclude='.local/share/Trash' --exclude='.local/share/containers' --exclude=".steam" "$HOME"/.[^.]* "home.somenet.org:HOMESYNC_dots/`hostname`/"