Thomas Browner wrote: > Can someone help me with this scrip that I am writing. I am trying to > get file and directory create date and if it is 7 days old then delete > it. I hoping someone can point me to a starting point. > > Thanks > > *Thomas > > *
You should be able to use File::Find and stat of a file to determine if greater than 7 days old. Find is part of regular Perl load and stat is std function. For stat you should be able to perldoc -f stat and online docs should have File::Find Give it a shot. Any questions and/or problems, please let me know. Thanks. Wags ;) Int: 9-8-002-2224 Ext: 408-323-4225x2224 ******************************************************* This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. ******************************************************* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>