DateTimeOriginal to FileModifyDate does not work

Started by Heiko, November 26, 2012, 04:07:21 PM

Previous topic - Next topic

Heiko

Hello Phil,

I'm trying to set the file modify date with to following command line:

exiftool "-DateTimeOriginal>FileModifyDate" test.jpg

I get the following message from ExifTool:
Warning: [minor] Error reading PreviewImage - test.jpg
   0 image files updated
   1 image files unchanges

if I add the -m option the warning will not be shown in the ExifTool output, but the file modify date was not changed. Operating system is Windows 7 64 Bit

Is there something that I'm doing wrong?

Regards
Heiko

Phil Harvey

Hi Heiko,

Are you using ExifTool 9.07?  There was a bug in this version that prevented FileModifyDate from being written.

If so, please download 9.08.  This should solve your problem.

Sorry for the trouble.

If you aren't using 9.07, then the problem is most likely that the file doesn't contain DateTimeOriginal information.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

Heiko

Hello Phil,

yes, I've used ExifTool 9.07 and with the actual version 9.08 the problem is solved.

Thank you very much for your execlent tool and your help in such a short time!

Regards
Heiko