Check out perldoc -f stat
stat returns a bunch of useful info for you, including modification time, access
time, size, etc.
Matt
__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
--
To unsubscribe, e
Hi All,
How can I check if directory is older then X days/hours
thanks
Amit
run from command line.
perl -e 'print (-M "directory")'
- M, Returns the age of OPERAND in days when the program started.
Hi,
Theres a function stat() that returns a list of file / dir parameters..
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks)=
stat($filename);
may be that cud help...check it out...
regs,
sachin balsekar.
Nisim, Amit wrote:
>Hi All,
>
>How can I check i
Hi All,
How can I check if directory is older then X days/hours
thanks
Amit
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]