From this answer I learned that if I have a photo in Lightroom and I want to edit its metadata using Exiftool then I can

  1. save its modifications to an XMP sidecar file,
  2. make the changes with Exiftool, and then
  3. reread the modifications from the sidecar.

At this point, do I need to keep the XMP sidecar file or can I trash it?


1 Answer 1


Yes, but depends on file type.

If you change the metadata of an image (in the image or its sidecar) externally from Lr then presumably you are storing the new metadata in that file or sidecar. But Lr doesn't know about that new data. Lr stores metadata in its own database. Lr should notice the data has changed externally, and show a little icon in the grid cell. Then you'd have the option of either overwriting Lr's stored metadata by accepting the changed metadata from the file or the sidecar, or the reverse, overwriting the metadata in the file or sidecar.

Since you changed it in exiftool you'd probably want it, so you'd overwrite. If the icon doesn't show up right away, you can use "read metadata from file" to get that info into Lr.

Once Lr has the metadata in it's database then yes, you could delete the sidecar.

But note that some files don't typically have sidecars, like JPEGs or DNGs, and the metadata is stored within the image files themselves. I can't recall if exiftool can write sidecars for these file types (I think it can), but Lr might not recognize them.

There is at least one plugin (Capture Time to Exif) that lets you use exiftool from within the plugin right in Lr, BTW.


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.