Wizards,
I'm trying to track down "the last time a file was used." The -A op seems to give what I need. But...
While experimenting with stat() I noticed that it seems to not only reset whatever thingie the -A op uses, but that it also sees *itself* as a "file access," so that every file I run stat($f) on returns just under 1.1 billion seconds--which translates roughly to right now today. Unless it reads the -A as a file access. In either case, if I run one or the other on four-year-old files, after running both I get a zero from -A and the 1.1 billion seconds from stat().
So, what can you in your great wisdom tell me about stat(), about -A, whatever they use, reset, and otherwise foul up?
Thanks!
Reply to: Deane.Rothenmaier
REMOVETHIS@Walgreens.com
20070729 Edit by ysth: reparented this SoPW under its followup