PDA

View Full Version : clear trash/cache periodically


flylehe
July 2nd, 2009, 04:01 PM
Hi,
I am now writing some bash command into cron to clear cache periodically.
Could you let me know what need to be clear?
Here is what I think: trash, ~/.thumbnails, and ~./.mozilla. What else?
Would you tell me what are the directory whose files need to be removed? And the commands?
Thanks and regards!

smartbei
July 2nd, 2009, 04:12 PM
I don't think you want to remove .mozilla, since that is also where bookmarks, passwords, etc. are stored. How about:

/home/<your username>/.mozilla/firefox/<your profile>/Cache

Instead? I believe that is where the Temporary Internet Files are (or equivalent).