[Petal] Petal temp files

Chris Croome chris at webarchitects.co.uk
Tue Feb 15 20:42:52 GMT 2005


Hi

On Tue 15-Feb-2005 at 08:31:13PM +0000, Fergal Daly wrote:
> 
> ls /tmp/petal_* | xargs rm

Tried that (well I tried ls /tmp/petal_* > rm_list) but it didn't
work in this case, ls said too many arguments...

Also once I did have a script to delete all the file it took well
over an hour to run and this is on a fast box...

I think a nightly cron job is in order as William suggested :-)

Chris

-- 
Chris Croome                               <chris at webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   


More information about the Petal mailing list