[X-Unix] Re: extract CTIME from the commandline?

James Bucanek subscriber at gloaming.com
Sun Aug 21 22:08:50 PDT 2005


Timothy Luoma wrote on Monday, August 22, 2005:

>
>Thanks for the reply.
>
>I may have my terminology wrong... I'm looking for the created date,  
>the date the file was first made, regardless of when it was last  
>opened or modified.
>
>'stat' seems to change when the file is touch(1)ed
>
>I can still see the created date in Finder, so I assume it has to be  
>stored SOMEWHERE.
>
>Is there a way to find that?

GetFileInfo -d (might require installing the Developer Tools, I don't remember)

See man GetFileInfo. I think 'stat' can get that info too, but it's just a lot trickier to use.

-- 
James Bucanek


More information about the X-Unix mailing list