]> git.somenet.org - somenet/homesync.git/commitdiff
working excludes. master
authorSomeone <someone@somenet.org>
Thu, 30 May 2024 23:17:51 +0000 (01:17 +0200)
committerSomeone <someone@somenet.org>
Thu, 30 May 2024 23:17:51 +0000 (01:17 +0200)
dotstore.sh

index 4f6a868fee3684ebc35a7e82c045cb91d7d3d350..a85ad9510bbb410f4f5b78a38380382c0935bb7e 100755 (executable)
@@ -3,4 +3,4 @@
 SLEEPTIME=5
 echo "Will sync settings in ${HOME} TO server in ${SLEEPTIME} sec..."
 sleep $SLEEPTIME
 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`/"