in reply to Re: File Age in Seconds ?
in thread File Age in Seconds ? (need more handholding)

I mean last modified, not creation time.
Thanks

Replies are listed 'Best First'.
Re: I misspoke...
by tcf03 (Deacon) on Dec 22, 2005 at 21:29 UTC
    perl -le "print(time - ( stat(q[file.txt]) )[9])"
    or perldoc -f stat

    Ted
    --
    "That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
      --Ralph Waldo Emerson