Copying XMP-exif:DateTimeOriginal in the xmp2exif.args

Started by StarGeek, January 28, 2023, 04:03:07 PM

Previous topic - Next topic


The fun of competing standards.  In regards to the XMP versions of EXIF:DateTimeOriginal, the IPTC standard uses XMP-photoshop:DateCreated while the EXIF for XMP standard uses XMP-exif:DateTimeOriginal.

The xmp2exif.args copies XMP-exif:DateTimeOriginal as part of XMP-exif:all, but XMP-photoshop:DateCreated copies into Composite:SubSecDateTimeOriginal.  This means that the XMP-exif:DateTimeOriginal will not fill SubSecTimeOriginal/OffsetTimeOriginal.

I would suggest that this be added.
-Composite:SubSecDateTimeOriginal < XMP-exif:DateTimeOriginal

Just a minor change and not a high priority.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Good point, thanks.  I'll change this in the next release.

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