Lightroom: Export Filename: Remove suffix, keep prefix

  • 1
  • Question
  • Updated 3 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 3 months ago

  • 1
Photo of Johan Elzenga

Johan Elzenga, Champion

  • 920 Posts
  • 352 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

  • 13822 Posts
  • 1628 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

  • 236 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.