Re: Looking for a PERL version of "filetime"
- From: anno4000@xxxxxxxxxxxxxxxxxxxxxxx (Anno Siegel)
- Date: 1 Apr 2005 08:28:11 GMT
Michael Zawrotny <zawrotny@xxxxxxxxxx> wrote in comp.lang.perl.misc:
> phynkel@xxxxxxxxx <phynkel@xxxxxxxxx> wrote:
> > We have a compiled program (no source) on our SUN machines called
> > filetime. If you run it against a file name it returns with the number
> > of seconds from 1/1/1970. We use it to flag files older than a fixed
> > date
> >
> > Looking for same thing in PERL or C for use of Linux
>
> It's not a perl solution, but many versions of linux come with a
> user-level utility called "stat". See "man 1 stat" for details,
> in particular the %x, %X, %y, %Y, %z, %Z formatting options.
You should take a look at the Perl documentation before answering
questions. Perl has a stat() function as well.
Anno
.
- Follow-Ups:
- Re: Looking for a PERL version of "filetime"
- From: Michael Zawrotny
- Re: Looking for a PERL version of "filetime"
- References:
- Looking for a PERL version of "filetime"
- From: phynkel
- Re: Looking for a PERL version of "filetime"
- From: Michael Zawrotny
- Looking for a PERL version of "filetime"
- Prev by Date: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.5 $)
- Next by Date: Re: Need syntax/small footprint help
- Previous by thread: Re: Looking for a PERL version of "filetime"
- Next by thread: Re: Looking for a PERL version of "filetime"
- Index(es):
Relevant Pages
|