The command for writing to an XMP tag would be similar exiftool -XMP:DateTimeOriginal="2022:12:12 12:00:00.24-08:00" /path/to/files/Īdditional tags for XMP would be XMP:CreateDate and XMP:ModifyDate The XMP standard allows for all the data in a single tag. It can either be embedded in the file or as an XMP sidecar. There is also the XMP standard, which is much more flexible. SubSecModifyDate writes to the EXIF:ModifyDate (called DateTime by the EXIF spec), EXIF:SubSecTime, SubSecCreateDate writes to the EXIF:CreateDate (called DateTimeDigitized by the EXIF spec), EXIF:SubSecTimeDigitized, and the EXIF:OffsetTimeDigitized tags. This will write 2022:12:12 12:00:00 to the EXIF:DateTimeOriginal, 24 to the EXIF:SubSecTimeOriginal, and -08:00 EXIF:OffsetTimeOriginal at the same time.Īlso of note are the SubSecCreateDate and SubSecModifyDate tags. Luckily, exiftool gives you a shortcut to write all three locations in a single command. The subseconds ( EXIF:SubSecTimeOriginal) are also located in a different tag. One problem is the fact that the EXIF standard separates the date/time ( EXIF:DateTimeOriginal) and the time zone ( EXIF:OffsetTimeOriginal) into different tags.
0 Comments
Leave a Reply. |