Skip to main content
akillerbluesky
Participant
September 18, 2024
Answered

Batch Rename

  • September 18, 2024
  • 1 reply
  • 568 views

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?

This topic has been closed for replies.
Correct answer akillerbluesky

i have found the solution.

 

1 reply

Legend
September 18, 2024

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

akillerbluesky
akillerblueskyAuthorCorrect answer
Participant
September 18, 2024

i have found the solution.

 

Stephen Marsh
Community Expert
Community Expert
September 20, 2024

Other viable regex include:

 

Find:

^\d+_

Replace:

 

or

 

Find:

^.*?_

Replace:

 

or

 

Find:

^(?:\d+)_

Replace: