diff do-backup @ 38:737061eac1d0 default tip

Skip more large videos and some permission issues
author IBBoard <dev@ibboard.co.uk>
date Wed, 18 Aug 2021 20:40:17 +0100
parents c7621908cb47
children
line wrap: on
line diff
--- a/do-backup	Tue Mar 02 20:54:13 2021 +0000
+++ b/do-backup	Wed Aug 18 20:40:17 2021 +0100
@@ -19,7 +19,7 @@
 --exclude=.Trash-1001 --exclude=Pictures/PhotoTemp --exclude=Pictures/AlbumArtCollection/ --exclude=Pictures/WarhammerArt/ --include=Pictures/*.xcf \
 --exclude=Pictures/*.* --exclude=VirtualBox/VBoxGuestAdditions* --exclude=SteamExtras/ --exclude=VirtualBox \
 --exclude=Documents/ebooks/mobi --exclude=Documents/ebooks/pdf --exclude=Documents/ebooks/*/mobi --exclude=Documents/ebooks/*/pdf \
---exclude=Documents/ebooks/Software/videos --exclude=Documents/Games\ Workshop/LivingRuleBooks \
+--exclude=Documents/ebooks/Software/videos --exclude=Documents/Games\ Workshop/LivingRuleBooks --exclude=Videos/OReilly \
 /mnt/media "$DISK"/
-rsync -av $RSYNC_ARGS /usr/local/bin "$DISK"/
+rsync -av $RSYNC_ARGS --exclude=bin/.hg/cache --exclude=bin/.hg/wcache /usr/local/bin "$DISK"/