file access dates



Hi, I am new to perl, and I want to search a root directory and find
files that have not been accessed within the last 6 months. I have
found that the stat function returns an array of file info. Could
someone please tell me which element the last accessed date is? Also
if there is a better way than using stat, please point me in the right
direction.

Thanks in advance,
Chris

.



Relevant Pages

  • Re: problem using -f file operator
    ... > # some $item manipulation here ... > the problem is that for a valid file, full path in $item perl doesn't ... > as I mentioned the file exists, using unix file command on it issues: ... You have a file in your root directory whose name begins with 6 ...
    (perl.beginners)
  • Re: Perl Audit Reports
    ... I am new to perl. ... report of a root directory and all subsequent sub-directories and ... the report should be able to ... an alert audit report. ...
    (perl.beginners)
  • Fake root dir with Perl
    ... I'm seeing if anyone can shed light on whether Perl can do what ... Perl monitor a given directory and force any executables in that ... any files in it will believe they are in the root directory. ...
    (comp.lang.perl.misc)