time question

2002-02-04 Thread Nisim, Amit
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]

Re: time question

2002-02-04 Thread sachin balsekar
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

re: time question

2002-02-05 Thread david wright
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.

Re: time question

2002-02-05 Thread Matt C.
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