Skip to main content
snsok
Known Participant
May 26, 2019
Question

Renaming files: how to selectively remove and substitute text?

  • May 26, 2019
  • 1 reply
  • 1381 views

So my file naming convention is

[camera name]- [camera assigned sequence number]- [place] - [month]-[year]

I just too some images with my Fujifilm X-T2 in Arkansas on May 25. By mistake, I forgot to edit the file renaming box in the Import module before importing so they got the name of my old import.. The files actually imported as

XT2-15100-Tulsa-05-2019

I want to rename them in LR but retain the camera sequence number only. They should look like this:

XT2-15100-Arkansas-05-2019

I don't see a way to change Arkansas to Tulsa but retain the rest of the filename. I can do that with a file renaming program outside of LR.

Possible?

iMac / Mojave / LR CC 8.3 / Mac OS 10.14.4

This topic has been closed for replies.

1 reply

Rob_Cullen
Community Expert
Community Expert
May 26, 2019

Edit: Do NOT rename outside of Lightroom!!!

With the release of Lr-Classic v8.3 the original File Number Suffix is preserved in metadata irrespective of the photos being renamed at Import or at a later date.  (Previously the File Number Suffix was cleared if renamed at Import!)

So if you imported these photos with v8.3 you can rename with a corrected template that preserves the camera sequence number.

This rename template should do it for you-

Or, even better, you could make a more 'universal' preset template that asks you for the [place] when you rename-

You might then always use this (one) template and simply enter the 'new' location [place] in the Custom Text box.

Regards. My System: Windows-11, Lightroom-Classic 15.1.1, Photoshop 27.3.1, ACR 18.1.1, Lightroom 9.0, Lr-iOS 10.4.0, Bridge 16.0.2 .
JohanElzenga
Community Expert
Community Expert
May 27, 2019

WobertC  wrote

With the release of Lr-Classic v8.3 the original File Number Suffix is preserved in metadata irrespective of the photos being renamed at Import or at a later date.  (Previously the File Number Suffix was cleared if renamed at Import!)

So if you imported these photos with v8.3 you can rename with a corrected template that preserves the camera sequence number.

Unfortunately, that is not (yet) true. I have asked Adobe to add this too. Right now, the original file name is preserved, but 'original file name number suffix' is not yet available in the rename dialog. Only the current file number suffix is, and the complete original file name.

-- Johan W. Elzenga
Rob_Cullen
Community Expert
Community Expert
May 27, 2019

JohanElzenga  wrote

Unfortunately, that is not (yet) true. I have asked Adobe to add this too. Right now, the original file name is preserved, but 'original file name number suffix' is not yet available in the rename dialog. Only the current file number suffix is, and the complete original file name.

Thanks Johan,

I was hopeful but now disappointed. But I guess the recent change has me one step closer to renaming with the File Number Suffix after having renamed at Import.-

1) Rename to  "Preserved Filename"

2) Rename with File Number Suffix.

Regards. My System: Windows-11, Lightroom-Classic 15.1.1, Photoshop 27.3.1, ACR 18.1.1, Lightroom 9.0, Lr-iOS 10.4.0, Bridge 16.0.2 .