Front page | perl.beginners |
Postings from March 2002
Find Files Based on Age
Thread Next
From:
Scott Burks
Date:
March 28, 2002 11:58
Subject:
Find Files Based on Age
Message ID:
9D6337586345914383C22E0FD135A74CDB80AA@ex01.TRUST.ORG
This might be simple, but I haven't found a solution yet. I have a
script that I use on our Unix boxes that uses 'find' to get a list of
files in a certain directory that are a certain number of days old and
removes them from the system (find / -name * -mtime +45 -exec rm -rf {}
\;). I need to port this to a Windows 2000 Server (he shudders as he
says this) and haven't been able to find a command or module that will
do the same search based on the age of the file. Can anyone clue me
into some Windows magic please.
Scott Burks
Systems Administrator
Trust Company of America
Thread Next
-
Find Files Based on Age
by Scott Burks