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

Understanding Memory usage in GNOME

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

GNOME Configuration Tools

This article was first written in November 2005 for the BeezNest technical website...