Home > English, Tech Crunch > HOWTO Automatically clean thumbnails generated by Nautilus

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.

Categories: English, Tech Crunch Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: