How to Clean the directory. Thumbnails on Linux
Most Linux desktops are capable of displaying thumbnails of images. They retain these thumbnails to allow a faster displays.
The problem is that these miniatures tend to accumulate, taking more and more space. Here's how to automatically clean up the thumbnails.
- Create the file / etc / crond.daily / clean_thumbnails: sudo gedit / etc / cron.daily / clean_thumbnails
- Paste in:
Code:
#! / bin / sh
nice find / home / yourlogin. thumbnails-name "*. png"-mtime 15 | xargs rm-f
- Make this file executable: chmod + x / etc / cron.daily / clean_thumbnails
Re: How to Clean the directory. Thumbnails on Linux
This cleaning is no longer necessary with Ubuntu 8.10: The system will purge itself thumbnails.
The cache is cleared if there is an excess of the maximum age and miniatures or the maximum cache size; This configuration with gconf-editor in:
/ desktop / gnome / thumbnail_cache / max_size (maximum cache size)
/ desktop / gnome / thumbnail_cache / max_age (maximum age of a miniature)