Re: cleaning /tmp directory

2010-04-01 Thread Tim
Tim: >> Not quite... It will delete not recently looked at files, whether you >> actually used them or not. It's an important distinction, here's why: Adalbert Prokop: > I did not want to exaggerate the distinction between > creation/modification/access time - simplifications are helpful in > ex

Re: cleaning /tmp directory

2010-04-01 Thread Tim
On Wed, 2010-03-31 at 16:28 -0400, Tom H wrote: > Or turn /tmp into a tmpfs mount. That can come back to bite you when you go to burn a CD or DVD, the burner uses /tmp to make temp files, and you run out real RAM. -- [...@localhost ~]$ uname -r 2.6.27.25-78.2.56.fc9.i686 Don't send private repl

Re: cleaning /tmp directory

2010-03-31 Thread Bill Davidsen
Wolfgang S. Rupprecht wrote: > Gregory Hosler writes: >> On 03/31/2010 09:52 PM, Maurizio Marini wrote: >>> Hi there >>> i need a cron script that cleans every day crap into /tmp >>> I have there a lot of temp files but i dunno which ones can be safely >>> wiped, >>> and it is very time comsumin

Re: cleaning /tmp directory

2010-03-31 Thread Tom H
>>> i need a cron script that cleans every day crap into /tmp >>> I have there a lot of temp files but i dunno which ones can be safely wiped, >>> and it is very time comsuming job, too. >> There already is a cron that will delete file out of /tmp that are 10 days >> old. > In addition, at shutd

Re: cleaning /tmp directory

2010-03-31 Thread Wolfgang S. Rupprecht
Gregory Hosler writes: > On 03/31/2010 09:52 PM, Maurizio Marini wrote: >> Hi there >> i need a cron script that cleans every day crap into /tmp >> I have there a lot of temp files but i dunno which ones can be safely wiped, >> and it is very time comsuming job, too. >> Any script written by som

Re: cleaning /tmp directory

2010-03-31 Thread Adalbert Prokop
Am 31.03.2010 16:51, schrieb Tim: Hi! > On Wed, 2010-03-31 at 15:58 +0200, Adalbert Prokop wrote: >> There is no need to reinvent the wheel. Fedora comes with tmpwatch, >> which does exactly what you want - scans /tmp (and possibly other >> directories) and deletes unused files. > Not quite...

Re: cleaning /tmp directory

2010-03-31 Thread suvayu ali
On 31 March 2010 07:51, Tim wrote: > On Wed, 2010-03-31 at 15:58 +0200, Adalbert Prokop wrote: >> There is no need to reinvent the wheel. Fedora comes with tmpwatch, >> which does exactly what you want - scans /tmp (and possibly other >> directories) and deletes unused files. > > Not quite...  It

Re: cleaning /tmp directory

2010-03-31 Thread Tim
On Wed, 2010-03-31 at 15:58 +0200, Adalbert Prokop wrote: > There is no need to reinvent the wheel. Fedora comes with tmpwatch, > which does exactly what you want - scans /tmp (and possibly other > directories) and deletes unused files. Not quite... It will delete not recently looked at files,

Re: cleaning /tmp directory

2010-03-31 Thread Adalbert Prokop
Am 31.03.2010 15:52, schrieb Maurizio Marini: Hi! > i need a cron script that cleans every day crap into /tmp > I have there a lot of temp files but i dunno which ones can be safely wiped, > and it is very time comsuming job, too. > Any script written by someone of you will be very apreciated :)

Re: cleaning /tmp directory

2010-03-31 Thread Gregory Hosler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/31/2010 09:52 PM, Maurizio Marini wrote: > Hi there > i need a cron script that cleans every day crap into /tmp > I have there a lot of temp files but i dunno which ones can be safely wiped, > and it is very time comsuming job, too. > Any script