Skip to main content
Inspiring
July 12, 2024
Question

Preserve Filename

  • July 12, 2024
  • 1 reply
  • 1747 views

Hi, 

I've seen a lot of posts about preserving the original filename but I don't really understand them.  I have my original raw files which I need to batch rename to my naming convention but I'd like to keep the original filename somewhere in the metadata.  Is this possible?

 

Ventura 13.6.7

Bridge 14.1.1.274

This topic has been closed for replies.

1 reply

Stephen Marsh
Community Expert
Community Expert
July 12, 2024

Yes, this is possible. As they are raw files, the preserved filename metadata will be written to the XMP sidecar file, not to the raw file. Most file formats can accept the preserved filename metadata entry, however, others such as TGA don't.

 

The preserve option works to store the current filename in a specific metadata entry. So if you Batch Rename from "original file.nef" to "new filename.nef" then "original file.nef" is stored in metadata.

 

It's also possible to use the Batch Rename tool as below to set the preserved filename, without changing the current name:

 

 

Or:

 

 

Please do double check File > File Info: Raw Data for the preserved filename to ensure that the data is actually there!

 

SRPcashieAuthor
Inspiring
July 12, 2024

That was my next question.  Where do I find the original file name?  I know you said File > File Info: Raw Data but where do I find that? 

My other semi related question is, where do you place information about the file such as the name and contact info for subject so you can see it in LR and when output as a jpg?  

Thanks so much for your help!

SRPcashieAuthor
Inspiring
July 12, 2024
quote

I did just find what you were talking about.....And i just realized I did batch rename twice bc i had an error in the first one, and now I think it only preserved the last erroneously changed name. 


By @SRPcashie

 

 

That could be a problem for you then. Depending on the filename pattern and how it was renamed, it might be salvageable with an advanced regular expression string substitution based Batch Rename.

 

Can you share the file so that I can look at it using ExifTool for you?

 

You can crop it to 1x1 pixel size, or fill it with black etc... It just needs all of the metadata to be in there, so use Save As/Save a Copy, don't use Export As or Save for Web (Legacy).

 


06222024_rodeo_s_0001.tif