# HG changeset patch # User IBBoard # Date 1521487957 0 # Node ID 92874671d6e1e946bd5be975771d5efb1ef8b42b # Parent 8052b4f3d142aab152fc286c7c2716bcdad65284 Add and exclude more directories and files to focus it/limit file size diff -r 8052b4f3d142 -r 92874671d6e1 do-backup --- a/do-backup Fri Feb 23 21:21:25 2018 +0000 +++ b/do-backup Mon Mar 19 19:32:37 2018 +0000 @@ -10,7 +10,7 @@ DISK="$1" RSYNC_ARGS=${RSYNC_ARGS:-} -rsync -av $RSYNC_ARGS --exclude=.thumbnails --exclude=temp --exclude=banshee.db --exclude=.cache --exclude=.local/share/Trash --exclude=.local/share/Steam --include=.local/share/Steam/userdata/ --exclude=.SpiderOak --exclude Documents/Games\ Workshop/LivingRuleBooks --exclude=.wine --exclude=.wine32 /home/ibboard "$DISK"/ -rsync -av $RSYNC_ARGS --exclude=Videos/Other --include=Downloads/games --include=Downloads/M4Ps --exclude=Downloads/* --exclude=.Trash-1000 --exclude=.Trash-1001 --exclude=Pictures/PhotoTemp --exclude=VirtualBox/VBoxGuestAdditions* --exclude=SteamExtras/ --exclude=VirtualBox /mnt/media "$DISK"/ +rsync -av $RSYNC_ARGS --exclude=.thumbnails --exclude=temp --exclude=banshee.db --exclude=.cache --exclude=.local/share/Trash --exclude=.local/share/Steam --include=.local/share/Steam/userdata/ --exclude=.SpiderOak --exclude Documents/Games\ Workshop/LivingRuleBooks --exclude=.wine --exclude=.wine32 --exclude=.local/share/*/game/ /home/ibboard "$DISK"/ +rsync -av $RSYNC_ARGS --exclude=Videos/Other --include=Downloads/games --include=Downloads/M4Ps --exclude=Downloads/* --exclude=.Trash-1000 --exclude=.Trash-1001 --exclude=Pictures/PhotoTemp --exclude=Pictures/AlbumArtCollection/ --exclude=Pictures/WarhammerArt/ --include=Pictures/*.xcf --exclude=Pictures/*.* --exclude=VirtualBox/VBoxGuestAdditions* --exclude=SteamExtras/ --exclude=VirtualBox /mnt/media "$DISK"/ rsync -av $RSYNC_ARGS /usr/local/bin "$DISK"/