0
\$\begingroup\$

I have folder with files

default.xmp
_DSC0001.ARW
_DSC0002.ARW
_DSC0003.ARW

What i want to get is three new XMP files that have same contents as default.xmp for each image in the folder.

default.xmp
_DSC0001.ARW
_DSC0001.xmp
_DSC0002.ARW
_DSC0002.xmp
_DSC0003.ARW
_DSC0003.xmp
\$\endgroup\$
4
  • \$\begingroup\$ What is the value of crs:RawFileName in default.xmp. Are all 3 images have taken with same camera, same lens, same focal length, same aperture, shutter speed, orientation, same ISO? What is your OS? \$\endgroup\$ Commented May 10, 2023 at 13:55
  • \$\begingroup\$ @RomeoNinov default.xmp file has no entry crs:RawFileName its simply settings saved from Adobe Camera Raw using Save Settings... dialog, however it works fine and ACR loads .xmp when opening .arw if .xmp has same filename. Images taken with same camera, same lens, same focal length, same aperture, different shutter speed, same ISO, orientation same, however i dont see how this matter because i might be just adding single setting e.g. Dehaze or Saturation inside default.xmp then it can apply perfectly fine to any image even if taken from different cameras. \$\endgroup\$
    – LilBro
    Commented May 10, 2023 at 14:31
  • \$\begingroup\$ As this is save from ACR why you do not open all the required images in ACR and load this XMP to apply the settings \$\endgroup\$ Commented May 10, 2023 at 16:01
  • \$\begingroup\$ @RomeoNinov because in reality i need to do this trick for thousands of images on my HDD, not just three files. Please don't ask me why unless you know the solution. \$\endgroup\$
    – LilBro
    Commented May 11, 2023 at 2:56

1 Answer 1

2
\$\begingroup\$

This would be Example #13 on the Metadata Sidecar Files page except instead of using -TagsFromFile @ you would hardcode it to your default file, -TagsFromFile /path/to/default.xmp.

You would set the -ext (-extension) option to the type of file you want to process, e.g. -ext ARW, or if you want to included all files, you would use --ext xmp to avoid processing any existing xmp files.

exiftool -ext ARW -TagsFromFile /path/to/default.xmp -srcfile %d%f.xmp -r DIR

Exiftool forum post

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.