Skip to content

Instantly share code, notes, and snippets.

@joltcan
Last active March 30, 2018 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joltcan/1acb621a7001eb65b155fc6aa5cb1da6 to your computer and use it in GitHub Desktop.
Save joltcan/1acb621a7001eb65b155fc6aa5cb1da6 to your computer and use it in GitHub Desktop.
Exclude file for fnmatch-based backup programs, like borg.
## Excludes based on Crashplan defaults (https://support.code42.com/CrashPlan/4/Troubleshooting/What_is_not_backing_up)
#
# Generic list
.DS_Store
*.swp
*.pyc
.Trash
.Xauthority
.bash_sessions
*/.[cC]ache
*/[cC]ache
*/.[tT]mp
*/[tT]emp
*/[tT]mp
*/[cC]ached
#
# Crashplan's generic
#
*/CrashPlan
*.part
*/iPhoto Library/iPod Photo Cache
*.cprestoretmp*
*/Music/Subscription
*/Google/Chrome/*cache*
*/Mozilla/Firefox/*cache*
*/Google/Chrome/Safe Browsing*
cookies.sqllite-*
permissions.sqllite-*
#
# OSX
#
/dev
/.vol
/mach.sym
/mach_kernel
.hotfiles.btree*
*/Network Trash Folder
*/VM Storage
.fseventsd.
*/Library/Caches
*/.Spotlight-*
/Network
/tmp
/cores
/afs
/automount
/private/Network
/private/tmp
/private/var/tmp
/private/var/folders
/private/var/run
/private/var/spool/postfix
/private/var/vm
/Previous Systems
*/lost+found
*/Microsoft User Data/Entourage Temp
*/iP* Software Updates
*/Library/Application Support/SyncServices
*/Library/Logs
*/Library/Mail/Envelope Index
*/Library/Mail/AvailableFeeds
*/Library/Mirrors/*
*/Library/PubSub/Database
*/Library/PubSub/Downloads
*/Library/PubSub/Feeds
*/Library/Safari/Icons.db
*/Library/Safari/WebpageIcons.db
*/Library/Safari/HistoryIndex.sk
*/Library/Calendars/Calendar Cache
*/iTunes/Album Artwork/Cache
*/iPhoto Library/iPod Photo Cache*
*/backups.backupdb/*
/Desktop DB
/Desktop DF
/Network/Servers
/Users/Shared/SC Info*
/net
/private/var/automount
/private/var/db/dhcpclient
/private/var/db/fseventsd
/System/Library/Extensions/Caches
*MobileBackups
*/Library/Saved Application State
*/Library/Mail/**/Info.plist
*/Library/Calendars/**/Info.plist
*/Application Support/Google/Chrome/Default/Cookies-journal*
*/Library/Cookies
*/Lightroom Catalog Previews.lrdata
*/Lightroom Catalog Smart Previews.lrdata
*/Library/Application Support/MobileSync
*/Downloads
.AppleDouble
.gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment