HOWTO Automatically clean thumbnails generated by Nautilus

This article is incomplete and was first written in June 2006
for the BeezNest technical website (

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.

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *