Re: File modification and opening dates



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
.



Relevant Pages

  • Re: Copying files in a certain date range to other locations
    ... Happy Holiday to you to. ... I'll mention a couple extra things about file copying. ... IF your moving files, rather than copying, it's always better to use ... the move command behaves like a copy and delete and copy ...
    (microsoft.public.vb.general.discussion)
  • Re: html wrapper
    ... browser to load someone else's page into a section of one of my pages. ... did the retrieving and displaying. ... the third party's page and instructions on where to display the content. ... I am not doing the copying, I am merely telling the operating system where the data is and giving it standard file instructions; the operating system does the retrieving, processing, and storing. ...
    (alt.html)
  • Re: File modification and opening dates
    ... I suppose copying a file to another ... 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. ... 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. ...
    (comp.sys.mac.apps)
  • Re: File modification and opening dates
    ... Chris Ridd wrote: ... OS X associates several times with a file's entry in a directory: ... is displayed by Finder -- someone with a bit of spare time would have ... displaying. ...
    (comp.sys.mac.apps)
  • Re: Michty Moose
    ... Chris Ridd wrote: ... >> For a mouse driver? ... >> kinell. ... > Just in case you take it on holiday to Sweden and Japan. ...
    (uk.comp.sys.mac)