Exif:DateTimeOriginal - check if seconds exist and set seconds value

Started by Uwe, April 13, 2019, 07:14:08 AM

Previous topic - Next topic

Uwe

Hello,
because of a bug in a program the Exif tag DateTimeOriginal was set like: 2018:03:11 10:28:
That means the seconds value is missing and I get problems with programs like GeoSetter.
I would like to find all files with this wrong situation by an ExifTool command and then set the seconds value to "00".
Is there anybody who can help?
Regards, Uwe

Hayo Baan

Hi Uwe,

This simple command should do the trick:
exiftool "-DateTimeOriginal<DateTimeOriginal" FILESorDIRS
Hayo Baan – Photography
Web: www.hayobaan.nl

Uwe

Hi Hayo,
thanks a lot - it works. I didn't expect that simple way to write back the tag.
Have a nice weekend,
Uwe