Re: Checking if files are older than 20 mins in a particular directory

2007-05-02 Thread Jeff Pang
2007/5/3, Jay Savage <[EMAIL PROTECTED]>: Not quite. -M reports "Script start time minus file modification time, in days." To put it another way, -M reports how old the file was when the script started running. Or more appropriately, how old the file would have been when the script started runn

Re: Checking if files are older than 20 mins in a particular directory

2007-05-02 Thread John W. Krahn
Jay Savage wrote: > On 5/2/07, Rob Dixon <[EMAIL PROTECTED]> wrote: >> Chris E. Rempola wrote: >> > >> > Could someone point me in the right direction to write out a simple >> Perl >> > script to check for old files in a particular directory that are older >> > than 20 mins. Is there a module to g

Re: Checking if files are older than 20 mins in a particular directory

2007-05-02 Thread Jay Savage
On 5/2/07, Rob Dixon <[EMAIL PROTECTED]> wrote: Chris E. Rempola wrote: > Hi All: > > Could someone point me in the right direction to write out a simple Perl > script to check for old files in a particular directory that are older > than 20 mins. Is there a module to grab current timestamp? Th

Re: Checking if files are older than 20 mins in a particular directory

2007-05-02 Thread John W. Krahn
Chris E. Rempola wrote: > Hi All: Hello, > Could someone point me in the right direction to write out a simple Perl > script to check for old files in a particular directory that are older > than 20 mins. Is there a module to grab current timestamp? Thanks. You could probably use the -M file t

Re: Checking if files are older than 20 mins in a particular directory

2007-05-02 Thread Rob Dixon
Chris E. Rempola wrote: Hi All: Could someone point me in the right direction to write out a simple Perl script to check for old files in a particular directory that are older than 20 mins. Is there a module to grab current timestamp? Thanks. Check out perldoc -f -x and look at the -M o

Checking if files are older than 20 mins in a particular directory

2007-05-02 Thread Chris E. Rempola
Hi All: Could someone point me in the right direction to write out a simple Perl script to check for old files in a particular directory that are older than 20 mins. Is there a module to grab current timestamp? Thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands