Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 cooling their heels in the Monastery: (8)
As of 2015-07-29 05:31 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 (260 votes), past polls