Duplicate xmp files for one RAW image

Community Beginner ,
Jan 26, 2019 Jan 26, 2019

Copy link to clipboard

Copied

Hi to the gurus of Lightroom

I have a dilemma, in that I find that LR is creating two xmp files for the same CR2 file.

one is .xmp and the other is .XMP. Yes case sensitive.

The images are stored on a NAS and there are two MAC laptops reading the NAS. However when the images are first imported via either laptop the sidecar file is lowercase. However after edits the file changes to Uppercase. The images are not edited at the same time nor saved at the same time. I have even had one laptop without power so that the catalogue is not open. However LR will save a new Sidecar file with uppercase.

I can see the two .xmp files in the Grid view via the Metadata. I am looking for ideas as to why this is happening and thus ways of stopping it.

Image 27-1-19 at 4.18 pm.jpg

Views

425

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Most Valuable Participant , Jan 26, 2019 Jan 26, 2019
It may be that some parts of LR use the lower-case extension "xmp" and some the upper-case extension "XMP".  Though officially LR should work with photos stored on case-sensitive volumes, it has other bugs with that (e.g. with the case of folder names).  So it wouldn't surprise me if LR uses the two different cases of "xmp".I'm not sure exactly how you might dig out from this.  But here's my educated guess:- By default, LR appears to create lower-case "xmp" sidecars.  So to get rid of the upper-...

Likes

translate

Translate

Translate
Most Valuable Participant ,
Jan 26, 2019 Jan 26, 2019

Copy link to clipboard

Copied

The first thing that comes to mind is that the NAS volume may be configured to be case-sensitive. I wouldn't trust what the NAS says it is configured as. Rather, run a quick test: Start the TextEdit app, and save a documentation as "TEST.TXT"; then make another document and save it as "test.txt" in the same folder.  Then look in the folder with Finder -- do you see one or two documents with that name?

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 26, 2019 Jan 26, 2019

Copy link to clipboard

Copied

True the NAS does show both .TXT and .txt.

but why does LR allow the two to be saved? And how to clear from the grid view both upper and lower case files?

Thanks

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Jan 26, 2019 Jan 26, 2019

Copy link to clipboard

Copied

It may be that some parts of LR use the lower-case extension "xmp" and some the upper-case extension "XMP".  Though officially LR should work with photos stored on case-sensitive volumes, it has other bugs with that (e.g. with the case of folder names).  So it wouldn't surprise me if LR uses the two different cases of "xmp".

I'm not sure exactly how you might dig out from this.  But here's my educated guess:

- By default, LR appears to create lower-case "xmp" sidecars.  So to get rid of the upper-case "XMP" sidecars, select all the photos and do Metadata > Save Metadata To File, in Finder delete all the upper-case "XMP" sidecars, then in LR do Metadata > Read Metadata From File.

- Then reconfigure the NAS to be case-insensitive.

You might experiment with this on a small test catalog and one or two photos.  And make sure you back up your catalog and photos/sidecars!

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 27, 2019 Jan 27, 2019

Copy link to clipboard

Copied

Hi Johnrellis

Thanks for the help and advice. Now off to sort out a 20TB NAS!

Noelh

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 05, 2021 Mar 05, 2021

Copy link to clipboard

Copied

I realize this thread is a bit dated, but wondered how you got on with your fix Noel Sydney?

 

Just came across this issue as well and have found teh real issue seemed to have been with the way I was mounting the NAS on my Mac.  I was using AFP rather than SMB.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines