Re: File modification and opening dates
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Thu, 02 Aug 2007 15:47:09 +1000
In article <5hd7m3F3jhu4nU1@xxxxxxxxxxxxxxxxxx>,
Chris Ridd <chrisridd@xxxxxxx> wrote:
On 2007-08-02 05:06:42 +0100, dorayme <doraymeRidThis@xxxxxxxxxxxxxxx> said:
Righto. Any other circumstances not using terminal? In fact, I'd
be interested in a general answer to the question, what is the
definition of modified? I suppose copying a file to another
volume etc might count (it not being necessarily opened)...
That's a good question, and I'm just about to go on holiday so I'll
just mention some of the basic facts.
OS X associates several times with a file's entry in a directory: when
it was created, when it was modified, and when it was accessed. In
addition to these traditional Unix values, it also records the time
when its attributes were last changed, and when it was last backed up.
The last two are obtainable by a C program using the getattrlist(2)
call, which has possibly the world's hairiest API.
Clearly none's called "Last opened". I don't know which one of those 5
is displayed by Finder -- someone with a bit of spare time would have
to write a program to dump the 5 values and compare with what Finder's
displaying.
Cheers,
Chris
Interesting... have a nice holiday... lucky devil!
--
dorayme
.
- References:
- File modification and opening dates
- From: dorayme
- Re: File modification and opening dates
- From: Dave Balderstone
- Re: File modification and opening dates
- From: dorayme
- Re: File modification and opening dates
- From: Chris Ridd
- File modification and opening dates
- Prev by Date: Re: File modification and opening dates
- Next by Date: Re: File modification and opening dates
- Previous by thread: Re: File modification and opening dates
- Next by thread: Re: File modification and opening dates
- Index(es):
Relevant Pages
|