-
Notifications
You must be signed in to change notification settings - Fork 0
/
rsync-exclude
71 lines (65 loc) · 1.17 KB
/
rsync-exclude
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# exclude self
- /backups
- /RESERVESPACE*
- /swapfile*
# List directories using ecryptfs here because otherwise mounted content will be copied as-is into backup without encryption
- /home/suoja/**
- /home/*/Private/**
# list of files and directories to exclude from backup
- /home/*/.compiz/session/
- /home/**/cache/
- /home/**/Cache/
- /home/**/.cache/
- /home/*/.gvfs
- /home/**/.kde/tmp-desktop
- /home/**/.kde/socket-desktop
- /home/**/lock
- /home/**/Mail/**/*.msf
- /**/.local/share/Trash/
- /home/*/.dbus/*session/
- /home/*/.Xauthority
- /**/.local/share/Trash/
- /**/.Trash-[0-9]/
- /**/.Trash-[0-9][0-9]/
- /**/.Trash-[0-9][0-9][0-9]/
- /**/.Trash-[0-9][0-9][0-9][0-9]/
- /**/*-cache/
- /**/*-cache
- /**/*-cache-2
- /**/cache*
- /**/tmp/**cache**
- /**/*.bak
- /**/*~
- /**/.beagle/
- /**/.trackerd/
- /**/.thumbnails/
- /**/.Thumbnails/
- /tmp/
- /var/cache/
- /var/run/
#- /var/
# optionally, excluded files provided by OS
- /bin/
- /boot/
- /dev/
#- /etc/
- /lib/
- /media/
- /mnt/
- /proc/
- /sbin/
- /srv/
- /sys/
- /usr/
- /snap/
# do not ever try to copy special stuff
- /dev/
- /proc/
- /sys/
- /tmp/
- /var/cache/
- /var/run/
- /run/
- /var/tmp/
- /var/lock/
- /media/