5 echo "Removing unwanted files"
7 rm /usr
/share
/icons
/gnome
/icon-theme.cache
10 /usr
/share
/inkscape
/examples \
11 /usr
/share
/inkscape
/tutorials
13 rm -r /usr
/share
/amnesia
/packages
15 # Ease transition to "stop shipping bugs/ and todo/ in ISO images"
16 # This is for people who have a too-clever caching build setup that
17 # goes on shipping files foverer as long as it has built them once.
18 rm -rf /usr
/share
/doc
/tails
/website
/bugs
/ \
19 /usr
/share
/doc
/tails
/website
/todo
/ \
20 /usr
/share
/doc
/tails
/website
/bugs.html \
21 /usr
/share
/doc
/tails
/website
/todo.html \
22 /usr
/share
/doc
/tails
/website
/wishlist.html \
23 /usr
/share
/doc
/tails
/website
/contribute
/roadmap.html
25 find /usr
/share
/doc
-type f
-name changelog.gz
-exec rm "{}" \
;
26 find /usr
/share
/doc
-type f
-name changelog.Debian.gz
-exec rm "{}" \
;
27 find /usr
/share
/doc
-type f
-name NEWS.Debian.gz
-exec rm "{}" \
;
30 find /usr
-name "*.pyc" -print0 |
xargs -0r rm -f
33 for file in $
(find /var
/log
/ -type f
); do