Accept Date Time Stamp that has null Time Values

Started by Paul Barrett, September 27, 2016, 02:18:24 PM

Previous topic - Next topic

Paul Barrett

It would be nice if ExifTool could accept null time values as 00:00:00 instead of rejecting them, when updating Metadata

Phil Harvey

But it will:

> exiftool a.jpg -datetimeoriginal='0000:00:00 00:00:00'
    1 image files updated
> exiftool a.jpg -datetimeoriginal
Date/Time Original              : 0000:00:00 00:00:00


However, from your other thread I think you may be trying to write filesystem timestamps, for which time zero depends on the epoch of the filesystem.

- 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 ($).