Lightroom: Export Filename: Remove suffix, keep prefix

  • 1
  • Question
  • Updated 10 months ago
  • (Edited)
I want to keep a file's original prefix when renaming during an export.

Export > File Naming > Edit -- I only see the option to select a file's suffix.

Example - Original Filenames:
8610_1000
8741_6900

When I do the export and save to a new folder, I want the files to be renamed as:
8610
8741

Is that possible?
Photo of Karrie Dash

Karrie Dash

  • 1 Post
  • 0 Reply Likes

Posted 10 months ago

  • 1
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 1542 Posts
  • 622 Reply Likes
I don't think so. For Lightroom, your file name is simply a name with nine characters. So what you would need to do is say 'use the first four characters only' and that does not exist in the renaming options.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 14550 Posts
  • 1893 Reply Likes
If you have Bridge, you could do it with a regular expression \_.*$ and the batch rename command:

Photo of Michel DELFELD

Michel DELFELD

  • 247 Posts
  • 33 Reply Likes
In LR, there is no possibility to extract a prefix out of the original file name that have bee generated by th camera.