HOWTO Automatically clean thumbnails generated by Nautilus

This article is incomplete and was first written in June 2006
for the BeezNest technical website (http://glasnost.beeznest.org/articles/338).

To automatically clean the thumbnails generated by Nautilus, and who never get cleaned by GNOME itself and can really fast occupy a large part of your disk space, I setup a cronjob like this in /etc/cron.d/clean-gnome-thumbnails on my Debian:

#
# Clean GNOME thumbnails files
#
# Every day, at 22h.
0 22    * * *   root    find /home/*/.thumbnails/ -type f -atime +90 -exec rm {} ;

This cronjob would remove thumbnails older than 90 days from homes of all users on my machine every day at 10PM.


Related Posts

GNOME 2.x Desktop

Our preferred free desktop for X (the X Window System) is the GNOME...

Setting the default printer under GNOME

This article was first written in June 2004 for the BeezNest technical website...

Quick Contact Form