![]() It won't write img0001.xmp into img0002.tiff because the %f stands for the base filename, which would be img0001 for img0001.tiff, img0002 for img0002.tiff, etc. Something else must be happening, as that is the basic command to recursively write the XMP tags into the matching image file. Here, -all:all copies all metadata (in this case only XMP, since the sidecar XMP file contains no other types) to the same specific locations in the target files (extension EXT).īut this writes the info from 1 xmp file to all of the TIFF files, whereas I am trying to pull img0001.xmp into img0001.tiff, img0002.xmp into img0002.tiff, etc. Copy XMP from sidecar files back to the same locations in the source files:Įxiftool -ext EXT -tagsfromfile %d%f.xmp -all:all -r DIR I can imagine using some automation tool to generate the 1000 individual commands, but would prefer to use exiftool's capability if it has it. ![]() What I have learned is that if I export the unedited original, but select the "Export IPTC as XMP", then I get an XMP sidecar file containing both the keyword info and the GPS info.Įxiftool does a phenomenal job of allowing me to then add this info back into the edited file using a command like this:Įxiftool -tagsfromfile img0001.xmp -all:all img0001.tiffĮxiftool -tagsfromfile img0001.xmp -all:all img0001.jpegĪssuming I have a directory with a thousand of images and a separate xmp sidecar for each, that will effectively be the equivalent of running these 1000 commands:Įxiftool -tagsfromfile img0002.xmp -all:all img0002.tiffĮxiftool -tagsfromfile img0003.xmp -all:all img0003.tiffĮxiftool -tagsfromfile img1000.xmp -all:all img1000.tiff Additionally, when exporting in TIFF format, while it does export keywords, it is dropping the GPS info. ![]() I have a situation where Apple Photos (Big Sur) will not export JPEG with keywords (known bug). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |