changeset 23:489ba6ea3c35

Add some more directories to back up Also reformats the command for readability
author IBBoard <dev@ibboard.co.uk>
date Sun, 09 Jun 2019 15:53:48 +0100
parents faa17dcc2c95
children 2576b5cfb71c
files do-backup
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/do-backup	Sun Jun 09 15:52:35 2019 +0100
+++ b/do-backup	Sun Jun 09 15:53:48 2019 +0100
@@ -10,7 +10,11 @@
 
 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 --exclude=.local/share/*/game/ /home/ibboard "$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/ --exclude=.config/Code/ --exclude=.vscode/ --include=Projects/dev \
+--include=Projects/master/ --include=Projects/SevenLanguagesInSevenWeeks/ --include=Projects/DoW/ --include=Projects/*.patch --exclude=Projects/* \
+/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"/