Lightroom: Add "Preserve current filename in XMP Metadata" as a checkbox to Export, similar to Bridge batch rename

  • 5
  • Idea
  • Updated 2 years ago
  • (Edited)
There is a feature in Bridge that allows you to batch rename files while preserving the original filename as a new field in the metadata. This feature would be great to have in Lightroom as well, most likely as a checkbox option under "file renaming" of Export. When dealing with loads of files, it ensures that no matter what the file is renamed we will always be able to track back to the raw file. I saw someone posted about this 10 years ago in the adobe forum so I am guessing that it isn't super important...
Photo of Jacob Frank

Jacob Frank

  • 4 Posts
  • 1 Reply Like

Posted 2 years ago

  • 5
Photo of Richard Kain

Richard Kain

  • 26 Posts
  • 1 Reply Like
I  support this feature request, assuming that it indeed a feature request. [If not, please file it as a feature request, or I can do that for you.]
Photo of Jacob Frank

Jacob Frank

  • 4 Posts
  • 1 Reply Like
Maybe I am mistaken, but isn't that what "idea" is? I went to http://www.adobe.com/products/wishform.html and it directed me here.
Photo of Ken Rounds

Ken Rounds

  • 75 Posts
  • 18 Reply Likes
Lightroom already has a similar feature. If you change the file name in the library mode, it saves the original file name in the space below (Copy Name).
Photo of Jacob Frank

Jacob Frank

  • 4 Posts
  • 1 Reply Like
But it only shows up in LR, it's not actually embedded as a new field in the .xmp file. For example, it doesn't show up when viewed in bridge or in the metadata on flickr. It only shows up when you batch rename and select that option in bridge.
(Edited)
Photo of Ken Rounds

Ken Rounds

  • 75 Posts
  • 18 Reply Likes
It shows up under Camera Raw in metadata. I was using a DNG file on my first test, so I also tried it on a TIF file & it works there too.
Photo of John R. Ellis

John R. Ellis, Champion

  • 3860 Posts
  • 1014 Reply Likes
"Lightroom already has a similar feature. If you change the file name in the library mode, it saves the original file name in the space below (Copy Name)."

Clarification: It shows up in Original Filename (not Copy Name) in the EXIF And IPTC tagset of the Metadata panel, e.g.

Photo of Ken Rounds

Ken Rounds

  • 75 Posts
  • 18 Reply Likes
Ah, I see that now. It writes it where Copy Name used to be which is now below Original Filename. 
Photo of John R. Ellis

John R. Ellis, Champion

  • 3871 Posts
  • 1023 Reply Likes
"This feature would be great to have in Lightroom as well, most likely as a checkbox option under 'file renaming' of Export. "

For export, you can use the Metadata Wrangler plugin to put the full path of the original filename (or just the filename) into a metadata field in the exported pic.  

But this won't handle the use-case of renaming files with the Library > Rename Photo command.
Photo of john beardsworth

john beardsworth

  • 1097 Posts
  • 258 Reply Likes
"But this won't handle the use-case of renaming files with the Library > Rename Photo command.'

"Original Filename" is available in Lightroom's file renaming - see the Filename Template Editor. So there's no need to use Bridge for this.
Photo of Ken Rounds

Ken Rounds

  • 75 Posts
  • 18 Reply Likes
I'm using Windows 10, Lr CC 2015.7. I have Automatically Write Changes Into XMP checked. Why would I want to uncheck it? It's working the way I want it to; it saves the original file name after renaming.
Lightroom version: CC 2015.7 [ 1090788 ]License: Creative Cloud
Operating system: Windows 10
Version: 10.0
Application architecture: x64
System architecture: x64
Logical processor count: 8
Processor speed: 4.0 GHz
Built-in memory: 32685.8 MB
Real memory available to Lightroom: 32685.8 MB
Real memory used by Lightroom: 806.3 MB (2.4%)
Virtual memory used by Lightroom: 857.9 MB
Memory cache size: 7.1 MB
Maximum thread count used by Camera Raw: 8
Camera Raw SIMD optimization: SSE2,AVX,AVX2
System DPI setting: 96 DPI
Desktop composition enabled: Yes
Displays: 1) 1920x1200, 2) 1920x1080
Input types: Multitouch: No, Integrated touch: No, Integrated pen: No, External touch: No, External pen: No, Keyboard: No

Graphics Processor Info: 
AMD FirePro W5100

Check OpenGL support: Passed
Vendor: ATI Technologies Inc.
Version: 3.3.13456 Core Profile Context FireGL 21.19.141.0
Renderer: AMD FirePro W5100
(Edited)
Photo of John R. Ellis

John R. Ellis, Champion

  • 3871 Posts
  • 1023 Reply Likes
I asked about your configuration to determine if you were observing the exact same behavior I was, following the precise same steps.

I now understand what's going on -- LR does not preserve the original filename in the XMP metadata.  After doing a rename, the next time LR writes out the .xmp sidecar (e.g. because you've changed metadata or develop settings), it will write the current  filename to the .xmp sidecar, overwriting the previous filename recorded there.

I don't think that's the behavior you want.

For example, consider these steps (verified on LR CC 2015.7 / Windows 10):

1. Check the option Automatically Write Changes Into XMP.

2. Import a raw file DSC05480.ARW.

3. Add a caption to that file in the Metadata panel. This causes LR to write a .xmp sidecar containing the current filename:

         crs:RawFileName="DSC05480.ARW"

4. Do Library > Rename Photo to rename the file to Test006.ARW. The .xmp sidecar still contains the original filename:

         crs:RawFileName="DSC05480.ARW"

5. Change caption in the Metadata panel.  This causes LR to write a new .xmp sidecar, which contains the current filename, not the original:

        crs:RawFileName="Test006.ARW"

So the .xmp sidecar will only contain the original filename until you cause LR to write a new sidecar, either by doing Metadata > Save Metadata To File, or by changing metadata or develop settings and waiting for Automatically Write Changes Into XMP to write the sidecar.
Photo of Ken Rounds

Ken Rounds

  • 75 Posts
  • 18 Reply Likes
Yes, I followed the above steps & the original Raw Filename was replaced by the new filename. I had to close & reopen Bridge for the change to show. So what's the cure, change the filename in Bridge? Write the original filename in Lr in the Metadata panel? Have engineering fix the problem?
Photo of John R. Ellis

John R. Ellis, Champion

  • 3871 Posts
  • 1023 Reply Likes
No good options:

You'd have to do the rename in Bridge before importing the pics into LR.

You can't change Original Filename in the Metadata panel.

I very much doubt Adobe will ever do anything about this, based on past experience.  But the feature request is here and people have voted on it, so you never know.
Photo of Jacob Frank

Jacob Frank

  • 4 Posts
  • 1 Reply Like
I called Adobe and asked, the feature DOES NOT exist. They were the ones that suggested that I add a feature request. The only current workaround is to batch rename to "current filename" in bridge and it adds the new field "preserved filename" into the metadata. This works, but it just add an extra step. This feature already exists in bridge, just not in lightroom. Hence the request