Re: Handling OLD files



Sandy wrote:
On Mar 27, 1:40 pm, anders.u.pers...@xxxxxxxxx (Anders) wrote:
I am looking for a way of moving files older than a date,
I am need this in a script for moving/erase old files from a
production machine

Try using File::Find
http://search.cpan.org/~nwclark/perl-5.8.7/lib/File/Find.pm

/sandy
http://myperlquiz.com/


Or, you could use the built in "stat" function. It can get a lot of information on a file.

perldoc -f stat
.