
To write or copy information, new tag values are specified with the - TAG = syntax or the To the console (or written to output text files with -w). Information is read from the source files and output in readable form One or more source file names, directory names, or "-" for the standard input. One final thing to take note of for the XMP time stamps is that the Exif 2.32 metadata for XMP standard uses XMP:DateTimeOriginal as the corresponding tag for EXIF:DateTimeOriginal, while the IPTC Photo Metadata Standard 2022.1 uses the XMP:DateCreated as the corresponding tag.Exiftool FILEĮxiftool | d| x] ]įor specific examples, see the EXAMPLES sections below.Ī command-line interface to Image::ExifTool, used for reading and writing meta information in image, audio and video files. 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.
