• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Batch Rename

New Here ,
Sep 18, 2024 Sep 18, 2024

Copy link to clipboard

Copied

I am trying to rename a group of images using batch rename in bribge.

my file names are as follows:

0025_12548.NEF

0026_15942.NEF

0029_24965.NEF

0032_32549.NEF

0035_35492.NEF

0038_85426.NEF

...ETC 

The first 4 numbers are a sequince number and the last 5 numbers are a student ID number that was changed using a Tether program when the photo was taken.

 

I am needing to remove the sequince number so we have just the student ID number as the file name.

12548.NEF

15942.NEF

24965.NEF

32549.NEF

35492.NEF

85426.NEF

I have seen ways to do it with Regular Expression through the community just cant figure it out or is there an easier way?

TOPICS
Batch , How to

Views

97

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

correct answers 1 Correct answer

New Here , Sep 18, 2024 Sep 18, 2024

i have found the solution.

 

Votes

Translate

Translate
LEGEND ,
Sep 18, 2024 Sep 18, 2024

Copy link to clipboard

Copied

Yes use a regex for this. You have to find a pattern- for example, does removing the first five characters work for all files?

Votes

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
New Here ,
Sep 18, 2024 Sep 18, 2024

Copy link to clipboard

Copied

i have found the solution.

 

Votes

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
Community Expert ,
Sep 19, 2024 Sep 19, 2024

Copy link to clipboard

Copied

LATEST

Other viable regex include:

 

Find:

^\d+_

Replace:

 

or

 

Find:

^.*?_

Replace:

 

or

 

Find:

^(?:\d+)_

Replace:

 

Votes

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