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

Get an NT find and:
find /image_dir -c +7d -exec rm {} \;

a

Replies are listed 'Best First'.
Re: Re: Re: Re: Deleting Files
by ashok (Sexton) on Feb 24, 2001 at 01:09 UTC
    you can use unix command find like this
    find . -mtime +84 -exec rm -f {} \;
    ashok
      -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