Created
September 19, 2014 11:58
-
-
Save ptb/a4fe3df01e90a2c7d7ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.Trash | |
.cache | |
.ccache | |
.dropbox | |
.dvdcss | |
.fontconfig | |
.zcompdump | |
Library/Caches | |
Library/Logs | |
Library/Saved Application State | |
.DS_Store | |
.Spotlight-*/ | |
.Trashes | |
/afs/* | |
/automount/* | |
/cores/* | |
/dev/* | |
/Network/* | |
/private/tmp/* | |
/private/var/run/* | |
/private/var/spool/postfix/* | |
/private/var/vm/* | |
/Previous Systems.localized | |
/tmp/* | |
/Volumes/* | |
*/.Trash | |
http://unix.stackexchange.com/questions/48311/what-do-you-filter-exclude-list-when-doing-backup-with-rsync | |
## Universal excludes | |
lost+found | |
ld.so.cache | |
# backup text files (e.g. from Emacs) | |
- *~ | |
- \#*\# | |
# Commonly distributed Mac OS X cache | |
- .DS_Store | |
# Commonly distributed Windows cache | |
- Thumbs.db | |
## Root file system | |
- /dev/ | |
- /etc/modules.conf | |
- /media/ | |
- /proc/ | |
- /sys/ | |
- /tmp/ | |
- /usr/portage/ | |
- /usr/src/ | |
- /var/tmp/ | |
- /var/log/ | |
# Of the mounted stuff, whitelist only my two data partitions | |
- /mnt/ | |
+ /mnt/data1 | |
+ /mnt/data2 | |
# Common package managers (apt, yum) | |
- /var/cache/apt/ | |
- /var/cache/yum/ | |
## Filters for home dirs (assumes /home/<user> dir structure) | |
# Cache | |
- /home/*/.cache/ | |
# Downloads | |
- /home/*/Downloads/ | |
+ /home/*/Downloads/src/ | |
# Dropbox | |
- /home/*/Dropbox | |
# Temporary files / cache | |
- /home/*/.local/share/Trash | |
- /home/*/.cache | |
- /home/*/.Trash | |
# X Windows System | |
- /home/*/.xsession-errors* | |
# Gnome temp stuff | |
- /home/*/.compiz*/session | |
- /home/*/.gksu.lock | |
- /home/*/.gvfs | |
# Common Applications | |
# Adobe Reader | |
- /home/*/.adobe/**/AssetCache/ | |
- /home/*/.adobe/**/Cache/ | |
- /home/*/.adobe/**/Temp/ | |
- /home/*/.adobe/**/UserCache.bin | |
# Dropbox temp stuff | |
- /home/*/.dropbox/ | |
- /home/*/.dropbox-dist/ | |
# Gimp | |
- /.gimp-*/tmp | |
- /.gimp-*/swap | |
# Mozilla Firefox | |
- /home/*/.mozilla/firefox/*/Cache/ | |
- /home/*/.mozilla/firefox/*/lock | |
- /home/*/.mozilla/firefox/*/.parentlock | |
# Mozilla Thunderbird | |
- /home/*/.mozilla-thunderbird/*/lock | |
- /home/*/.mozilla-thunderbird/*/.parentlock | |
# Pidgin (accounts.xml contains passwords in clear text) | |
- /home/*/.purple/accounts.xml | |
/tmp/* | |
/Network/* | |
/cores/* | |
*/.Trash | |
/afs/* | |
/automount/* | |
/private/tmp/* | |
/private/var/run/* | |
/private/var/spool/postfix/* | |
/private/var/vm/* | |
/Previous Systems.localized | |
.Spotlight-*/ | |
._* | |
Personal | |
personal | |
.Spotlight-*/ | |
.Trashes | |
/afs/* | |
/automount/* | |
/cores/* | |
/dev/* | |
/Network/* | |
/private/tmp/* | |
/private/var/run/* | |
/private/var/spool/postfix/* | |
/private/var/vm/* | |
/Previous Systems.localized | |
/tmp/* | |
/Volumes/* | |
*/.Trash | |
.fseventsd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment