Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Deleting old files from directory

by i5513 (Pilgrim)
on Sep 27, 2011 at 20:21 UTC ( #928173=note: print w/ replies, xml ) Need Help??


in reply to Re: Deleting old files from directory
in thread Deleting old files from directory

or better using -delete from find actions (in this case -maxdepth is needed too)

why ctime and not mtime ?

In the other side, maybe using Find, could be more efficient? I don't know

Regards,


Comment on Re^2: Deleting old files from directory

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928173]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2015-08-29 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (344 votes), past polls