Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Re: Deleting Files

by ashok (Sexton)
on Feb 24, 2001 at 01:09 UTC ( #60555=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Deleting Files
in thread Deleting Files

you can use unix command find like this
find . -mtime +84 -exec rm -f {} \;
ashok

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Deleting Files
by a (Friar) on Feb 24, 2001 at 09:44 UTC
    -mtime or -ctime (that's what I meant ;-), there's was some discussion about how NT handles/uses mtime/atime/ctime and, of course, you'd probably want "-exec del {} \;" unless an 'rm' came w/ the NT 'find' package (cygnus, MKutil, perl -e 'unlink shift', ????).

    a

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2022-10-04 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (18 votes). Check out past polls.

    Notices?