[NTLUG:Discuss] original file creation date?

Kenneth Loafman kenneth at loafman.com
Mon Sep 1 09:58:44 CDT 2008


BBBB wrote:
> Kenneth Loafman wrote:
>> BBBB wrote:
>>   
>>> Eric Schnoebelen wrote:
>>>     
>>>> ......
>>>>
>>>> Why is the "original creation date" interesting to you?
>>>>
>>>>   
>>>>       
>>> I like to keep the original dates on my photo files......
>> So, bottom line is that the semantics of the file times match reality,
>> not our desired perception of it.
>>
>> ...Ken
>>
>>   
> I understand what you are saying. I was assuming that since the file was 
> only moved that it wouldn't be "modified"
> Maybe Linux and Windows have different views of what modified means?

Linux does have the concept of preservation of attributes.  In other
words, 'cp -p src tgt' will preserve the time/date stamps and file modes
when the file is copied, however, it will be considered 'modified' if
you do not add the '-p' option, or if you copy it into the system from
another place.  The camera download programs must be setting the
creation time, otherwise it would be identical to the modification time.
 It would be trivial for them to set the modification time as well, but
that would not match the normal semantics.

...Ken



More information about the Discuss mailing list