-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexclude.conf
More file actions
212 lines (195 loc) · 5.57 KB
/
Copy pathexclude.conf
File metadata and controls
212 lines (195 loc) · 5.57 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
# rsync excludes file for arch-clone
# Exclude some system files. These are required, and you probably
# shouldn't change them.
- /cdrom/*
- /dev/*
- /live
- /lost+found
- /media/*
- /mnt/*
- /proc/*
- /swap/*
- /swapfile
- /sys/*
- /timeshift
- /tmp/*
- /persistence.conf
- /boot/grub/grub.cfg
- /boot/grub/menu.lst
- /boot/grub/device.map
- /boot/*.bak
- /boot/*.old-dkms
- /etc/udev/rules.d/70-persistent-cd.rules
- /etc/udev/rules.d/70-persistent-net.rules
- /etc/fstab
- /etc/fstab.d/*
- /etc/mtab
- /etc/blkid.tab
- /etc/blkid.tab.old
- /etc/apt/sources.list~
- /etc/crypttab
- /etc/initramfs-tools/conf.d/resume
- /etc/initramfs-tools/conf.d/cryptroot
- /etc/popularity-contest.conf
# Added for newer version of live-config/live-boot in wheezy
# These are only relevant here if you create a snapshot while
# you're running a live-CD or live-usb.
- /lib/live/*
- /run/*
# Added for symlink /lib
- /usr/lib/live/overlay
- /usr/lib/live/image
- /usr/lib/live/rootfs
- /usr/lib/live/mount
## Entries below are optional. They are included either for privacy
## or to reduce the size of the snapshot. If you have any large
## files or directories, you should exclude them from being copied
## by adding them to this list.
##
## Entries beginning with /home/*/ will affect all users.
# Uncomment this to exclude everything in /var/log/
#- /var/log/*
# As of version 9.2.0, current log files are truncated,
# and archived log files are excluded.
#
# The next three lines exclude everything in /var/log
# except /var/log/clamav/ (or anything else beginning with "c") and
# /var/log/gdm (or anything beginning with "g").
# If clamav log files are excluded, freshclam will give errors at boot.
#- /var/log/[a-b,A-Z]*
#- /var/log/[d-f]*
#- /var/log/[h-z]*
#- /var/log/*gz
- /var/cache/*
- /var/backups/*
- /var/lib/aide/*
- /var/lib/apt/*~
- /var/lib/apt/cache/*
- /var/lib/apt/cdroms.list
- /var/lib/apt/daily_lock
- /var/lib/apt/extended_states
- /var/lib/apt/listchanges.db
- /var/lib/apt/lists/
- /var/lib/apt/mirrors/
- /var/lib/apt/periodic/
- /var/lib/aptitude/*.old
- /var/lib/archbuild
- /var/lib/cache/*
- /var/lib/dbus/machine-id
- /var/lib/dhcp/*
- /var/lib/dkms/wireguard/*
- /var/lib/dpkg/*~old
- /var/lib/gems/2.7.0/cache/*
- /var/lib/live/config/*
- /var/mail/*
- /var/log/*
- /var/spool/*
- /var/tmp/*
- /usr/share/icons/*/icon-theme.cache
- /root/.bash_history
- /root/.disk-manager.conf
- /root/.fstab.log
- /root/.lesshst
- /root/*/.log
- /root/.local/share/*
- /root/.nano_history
- /root/.synaptic
- /root/.VirtualBox
- /root/.ICEauthority
- /root/.Xauthority
- /root/.ssh
- /home/*/.adobe
- /home/*/.aptitude
- /home/*/.bash_history
- /home/*/.cache
#- /home/*/.config/BraveSoftware/Brave-Browser/*
#- /home/*/.config/chromium
#- /home/*/.config/Code
#- /home/*/.config/discord
#- /home/*/.config/filezilla
#- /home/*/.config/GIMP/
#- /home/*/.config/hexchat
#- /home/*/.config/VSCodium
- /home/*/.dbus
- /home/*/.evolution/cache/
- /home/*/.gconf/apps/gnome-settings/gnome-search-tool/%gconf.xml
- /home/*/.gimp-2.4
- /home/*/.gimp-2.6
- /home/*/.gimp-2.8
- /home/*/.gksu*
- /home/*/.gnome2/gedit-metadata.xml
- /home/*/.gnupg
- /home/*/.gvfs
- /home/*/.ICEauthority
- /home/*/.kde/cache*
- /home/*/.kde/share/apps/RecentDocuments/*.desktop
- /home/*/.kde4/share/apps/RecentDocuments/*.desktop
- /home/*/.lesshst
- /home/*/.libreoffice/3-suse/user/registrymodifications.xcu
- /home/*/.libreoffice/3/user/registrymodifications
- /home/*/.local/share/DBeaverData/*
- /home/*/.local/share/Google/*
- /home/*/.local/share/jupyter/*
- /home/*/.local/share/QtProject/*
- /home/*/.local/share/RecentDocuments/*.desktop
#- /home/*/.local/share/Steam
- /home/*/.local/share/recently-used.xbel
- /home/*/.local/share/Trash/*
- /home/*/.log
- /home/*/.macromedia
- /home/*/.maltego/v4.2.17/var/cache/*
- /home/*/.mozilla/*/Cache/*
- /home/*/.mozilla/*/urlclassifier3.sqlite
- /home/*/.mozilla/*/places.sqlite
- /home/*/.mozilla/*/cookies.sqlite
- /home/*/.mozilla/*/signons.sqlite
- /home/*/.mozilla/*/formhistory.sqlite
- /home/*/.mozilla/*/downloads.sqlite
- /home/*/.nano_history
- /home/*/.nautilus/metafiles/*
- /home/*/.pulse*
- /home/*/.recently-used
- /home/*/.recently-used.xbel
- /home/*/.ssh
#- /home/*/.steam
- /home/*/.thumbnails/fail/*
- /home/*/.thumbnails/large/*
- /home/*/.thumbnails/normal/*
- /home/*/.thumbnails/x-large/*
- /home/*/.thumbnails/xx-large/*
- /home/*/.Trash*
- /home/*/.var/app/org.filezillaproject.Filezilla/config/filezilla
- /home/*/.var/app/org.mozilla.firefox/cache/mozilla
- /home/*/.var/app/org.mozilla.Thunderbird/cache/thunderbird/
- /home/*/.vbox*
- /home/*/.viminfo
- /home/*/.VirtualBox
#- /home/*/.wine
- /home/*/.Xauthority
- /home/*/.xchat2/*
- /home/*/.xsession-errors
- /home/*/.ZAP/*
- /home/*/env01/*
- /home/*/snap/filezilla/22/.config/filezilla
- /home/*/snap/firefox/common/.cache/mozilla
- /home/*/VirtualBox
# You might want to comment these out if you're making a snapshot for
# your own personal use, not to be shared with others.
- /home/*/.gnupg
- /home/*/.ssh
- /home/*/.xchat2
- /home/*/.config/hexchat
# Exclude ssh_host_keys. New ones will be generated upon live boot.
# This fixes a security hole in all versions before 9.0.9-3.
# If you really want to clone your existing ssh host keys
# in your snapshot, comment out these two lines.
- /etc/ssh/ssh_host_*_key*
- /etc/ssh/ssh_host_key*
# Examples of things to exclude in order to keep the image small:
#- /home/*/Downloads/*
#- /home/*/Music/*
#- /home/user/Pictures/*
#- /home/*/Videos/*
# To exclude all hidden files and directories in your home, uncomment
# the next line. You will lose custom desktop configs if you do.
#- /home/*/.[a-z,A-Z,0-9]*