Copying XMP-exif:DateTimeOriginal in the xmp2exif.args

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

Previous topic - Next topic

StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

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/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).