add rsync exclude lists for osx backups

This commit is contained in:
Jeffrey Paul 2018-07-18 01:25:27 -04:00
parent 49b296435f
commit ff3c279d7c
1 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,76 @@
OSX_RSYNC_HOME_EXCLUDE=""
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Google?Drive?File?Stream'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Dropbox'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/.Trash'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/tmp'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Library/Google/GoogleSoftwareUpdate'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Library/Developer/CoreSimulator'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Library/Application?Support/MobileSync'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Pictures/Lightroom/Lightroom?Catalog-2?Previews.lrdata'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Pictures/Lightroom/Lightroom?Catalog-2?Smart?Previews.lrdata'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Library/Caches'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Library/Mail'
OSX_RSYNC_HOME_EXCLUDE+=' --exclude=**/Library/Homebrew'
export OSX_RSYNC_HOME_EXCLUDE
OSX_RSYNC_APPLICATIONS_EXCLUDE=""
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/.DS_Store'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/App?Store.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Automator.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Calculator.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Calendar.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Chess.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Contacts.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/DVD?Player.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Dashboard.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Dictionary.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/FaceTime.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Font?Book.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Game?Center.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Image?Capture.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Install?OS?X?El?Capitan.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Install?OS?X?Yosemite.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Launchpad.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Mail.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Maps.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Messages.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Mission?Control.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Notes.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Photo?Booth.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Photos.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Preview.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/QuickTime?Player.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Reminders.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Safari.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Siri.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Spotify.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Steam.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Stickies.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/System?Preferences.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/TextEdit.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Time?Machine.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Activity?Monitor.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/AirPort?Utility.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/AppleScript?Editor.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Audio?MIDI?Setup.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Bluetooth?File?Exchange.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Boot?Camp?Assistant.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/ColorSync?Utility.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Console.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/DigitalColor?Meter.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Disk?Utility.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Grab.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Grapher.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Keychain?Access.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Migration?Assistant.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Script?Editor.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/System?Information.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Terminal.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/VoiceOver?Utility.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Utilities/Digital?Color?Meter.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/Xcode.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/iBooks.app'
OSX_RSYNC_APPLICATIONS_EXCLUDE+=' --exclude=**/iTunes.app'
export OSX_RSYNC_APPLICATIONS_EXCLUDE