Batch renaming of filenames using string substitution in Lightroom Classic

Explorer ,
Sep 05, 2022 Sep 05, 2022

Copy link to clipboard

Copied

I have my images named with the first two numerals for the year taken and then the sequence#.

For example:   _06_12345.cr3

I want to eliminate the first underscore on all the image filenames taken in 2006 in LR Classic:

    _06_12345.cr3     would become   06_12345.cr3

I want to search with a wildcard to locate all the _06_*.* images and then eliminate the underscore and leave the remaining filename intact.

 

Is this possible?

TOPICS
Windows

Views

38

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

[This post contains formatting and embedded images that don't appear in email. View the post in your Web browser.]

 

1. In the Library Filter bar, filter for all file names starting with _06_:

johnrellis_0-1662448093902.png

 

2. Then use the Search Replace Transfer plugin to replace _06_ in those file names with the empty string, using the method described here.

 

(Step 1 is needed to avoid accidentally renaming file names that contain _06_ somewhere other than the beginning.)

 

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

The good news in my case is that the filenames will NEVER have the occurrence of _06_ anywhere else in the filename.   That string will only appear as the first four characters of the filename.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

LATEST

Good, so you don't need step 1.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

Save time with Adobe Express quick actions