[gentoo-user] /tmp directory: best policy for clearing?

2007-10-01 Thread Alan E. Davis
Somenow I've overlooked that my /tmp file has been filling up with large files for over a year. May I ask what is a reasonable way to handle the /tmp directory, without deleting large files that are maybe only a few days old? Thank you for any ideas, Alan -- Alan Davis, Kagman High School,

Re: [gentoo-user] /tmp directory: best policy for clearing?

2007-10-01 Thread Albert Hopkins
On Tue, 2007-10-02 at 00:05 +1000, Alan E. Davis wrote: Somenow I've overlooked that my /tmp file has been filling up with large files for over a year. May I ask what is a reasonable way to handle the /tmp directory, without deleting large files that are maybe only a few days old?

Re: [gentoo-user] /tmp directory: best policy for clearing?

2007-10-01 Thread Hex Star
This can be done easily as shown: *find /tmp/ -mtime +1 -exec rm {} \; Change +1 to the number of days old you want the files to be before deletion *

Re: [gentoo-user] /tmp directory: best policy for clearing?

2007-10-01 Thread Neil Bothwick
On Tue, 2 Oct 2007 00:05:03 +1000, Alan E. Davis wrote: May I ask what is a reasonable way to handle the /tmp directory, without deleting large files that are maybe only a few days old? How often do you reboot? If you don't measure uptimes by the seasons, setting WIPE_TMP=yes