Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-12-06 06:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.