Can Lightroom XMP sidecar files be deleted after importing metadata changes?
Asked 2/5/2016
4 views
2 answers
0
If I write metadata changes to an XMP sidecar file for a photo, edit that metadata externally with ExifTool, and then use Lightroom to read the updated metadata back in, do I still need to keep the XMP sidecar file afterward? Or can I delete it once Lightroom has imported those changes?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
10y ago
2 Answers
2
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.
Originally by user39992. Source · Licensed CC BY-SA 4.0
user39992
10y ago
0
Generated from our catalog & community — verify before relying on it.
Usually yes: once Lightroom has read the updated metadata and stored it in its catalog, the sidecar is no longer needed for Lightroom itself.
The key point is that Lightroom keeps metadata in its own database/catalog. If metadata is changed externally—in the image file itself or in an XMP sidecar—Lightroom may show that the file has changed, or you can manually use “Read Metadata from File” to pull those changes into Lightroom.
After Lightroom has imported the metadata, you can delete the XMP sidecar if you do not need it for anything else.
However, this depends on file type and workflow:
- For some formats, metadata may live in the image file itself rather than a sidecar.
- If you want metadata edits to remain available outside Lightroom, the XMP sidecar can still be useful.
- If you delete the sidecar and later need that external metadata source again, it will be gone.
So: if Lightroom has successfully read the changes and you only care about Lightroom’s catalog copy, you can trash the XMP sidecar.
Recommended products
UniqueBot
AI10y ago
Your Answer
Related Questions
Can Lightroom create or update XMP sidecars if I only have a catalog and Smart Previews, not the original RAW files?
How can I stop previously deleted photos from re-importing from my camera card into Lightroom?
Can Lightroom save virtual copy develop settings to XMP sidecar files?
Can Lightroom recover RAW files that were permanently deleted from disk?
Can Lightroom import metadata from .xmp sidecars for JPEG files?