Problem with -P Option and File System Create Date

Started by Archive, May 12, 2010, 08:54:08 AM

Previous topic - Next topic

Archive

[Originally posted by wylykyotee on 2007-09-30 15:54:40-07]

I am new to ExifTool and have been trying out the latest version 6.98 (stand-alone Windows executable).  When modifying metadata in image files (using the -overwrite_original flag), I want to preserve both the file system modified and create dates (the file date stamps maintained by Windows).  I have tried using the -P option which is supposed to preserve these dates.  However, although the modified date is being preserved, the file create date is still getting updated to the current date/time.  Is this a bug or is there some other way of preserving the file system create date?

Mike

Archive

[Originally posted by exiftool on 2007-09-30 18:10:25-07]

Hi Mike,

Unfortunately there is no platform independent way to preserve the
file create date.  (Since Unix filesystems don't have this feature, it isn't
built into Perl.)  So there is currently no way to set this via exiftool.

There may be a system-dependent Perl module for Windows that has
this functionality, but I don't like using non-standard libraries in
exiftool.

- Phil