Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Deleting old files from directory

by i5513 (Monk)
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 surveying the Monastery: (13)
As of 2015-07-07 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls