Chas Owens wrote:>
#!/usr/bin/perl
for my $file (<.* *>) {
print "$file is ", int(24*60 * -M $file), " minutes old\n";
}
Thanks Chas! Exactly what I was looking for =).
Cheers
-Chris
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http:
On 5/2/07, Chris E. Rempola <[EMAIL PROTECTED]> wrote:
Hi All:
Can anyone give me some direction in writing a simple Perl script for
checking files in a particular directory thats older than 20 mins. Is
there a module I can use to grab the current time-stamp of a file?
Thanks in advance
-C
Hi All:
Can anyone give me some direction in writing a simple Perl script for
checking files in a particular directory thats older than 20 mins. Is
there a module I can use to grab the current time-stamp of a file?
Thanks in advance
-Chris
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
F