Skip to content

Instantly share code, notes, and snippets.

@trustin
Last active January 18, 2020 13:49
Show Gist options
  • Save trustin/944178 to your computer and use it in GitHub Desktop.
Save trustin/944178 to your computer and use it in GitHub Desktop.
Trustin's CrashPlan exclusion regular expressions for Linux (crashplan)
# Put expressions that hit more files first.
/home/chroot/.*
/home/[^/]+/Workspaces?/.*/target/.*
/home/[^/]+/\.m2/repository/.*
/home/[^/]+/\.ivy2/(?:cache|local|limiter)/.*
/home/[^/]+/.*(?:~|\.(?:log|tmp|bak|lock))
/home/[^/]+/Virt/Machines/.*
# Put expressions that hits specific applications later.
/home/[^/]+/\.(?:adobe|cache|ccache|dbus|dropbox|dropbox-dist|fontconfig|gconfd|gstreamer[^/]*|gvfs)/.*
/home/[^/]+/\.(?:INCAInternet|java|Skype|thumbnails|fontconfig|workrave|xchat2/scrollback)/.*
/home/[^/]+/\.(?:ICEauthority|Xauthority|esd_auth|pulse-cookie|viminfo|[^/]+history|[^/]+hst)
/home/[^/]+/\.(?:gtk-bookmarks|xsession-errors|goutputstream|pam_environment).*
/home/[^/]+/\.(?:IntelliJIdea)[^/]+/system/.*
/home/[^/]+/.*/\.dropbox(?:\.cache/.*|$)
/home/[^/]+/\.config/google-chrome/.*
/home/[^/]+/\.(?:xbmc|kodi)/(?:[Tt]emp|userdata/[Tt]humbnails)/.*
/home/[^/]+/\.local/share/(?:gnome-shell|evolution|[Tt]rash)/.*
/home/[^/]+/\.local/share/Steam/(?:config/htmlcache|appcache/httpcache|fontconfig)/.*
(?i)/home/[^/]+/\.(?:thunderbird|mozilla/firefox)/Crash Reports.*
(?i)/home/[^/]+/\.(?:thunderbird|mozilla/firefox)/[^/]+/.*(?:Cache|\.db|\.sqlite|lock|\.[^/]*lock|\.sbstore|\.pset|thumbnail|Telemetry|Histo|backup|fftmp|minidump|compatibility|Photos|abook).*
(?i)/home/[^/]+/\.thunderbird/[^/]+/ImapMail/(?:(?:(?!msgFilterRules\.dat).)+[^/]|.*\.sbd.*)
/etc/(?:(?!trustin)(?!/sources\.list).)+[^/]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment