Of course, if all you are interested in is the file modification time, the -M and -A functions return the number of days since the file was last modified resp. accessed.
Use it as follows (untested)
if (-M $filename < 4) { print "The file $filename was accessed less than four days ago\n"; };
In reply to Re: File Date on NT
by Corion
in thread File Date on NT
by rauschy33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |