Bulk Image Name Rename

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Bulk Image Name Rename

Postby lostdog » Sun Aug 05, 2018 6:54 am

Hello,

Looked through the forum but could not find what I was looking for. Over 3k images and I need to delete or replace all _897.jpg Need to remove the underscore and all after and keep the .jpg or delete all and replace with just .jpg

So HFLSQT15_26.jpg becomes HFLSQT15.jpg
1 more HFLSQT1522_6.jpg becomes HFLSQT1522.jpg

I tried in 1 (_*).jpg
Replace .jpg but this did not work.

Any help would be greatly appreciated.
lostdog
 
Posts: 2
Joined: Sun Aug 05, 2018 6:47 am

Re: Bulk Image Name Rename

Postby Deano045 » Sun Aug 05, 2018 11:58 am

hi

In the replace (3) section add _26 in the replace and leave the with section blank.

Make sure to select all of the images and this should do it. then press the rename button on the bottom right.
Deano045
 
Posts: 3
Joined: Sun Aug 05, 2018 11:52 am

Re: Bulk Image Name Rename

Postby lostdog » Tue Aug 07, 2018 1:16 am

Thanks Deano,
I need a wild card after the _. The number are never the same see second example form first post.
lostdog
 
Posts: 2
Joined: Sun Aug 05, 2018 6:47 am

Re: Bulk Image Name Rename

Postby therube » Tue Aug 07, 2018 4:33 pm

To remove everything starting with the first _ :
1:RegEx
Code: Select all
Match:  (.*?)_
Replace:  \1

> 544401_A_01.prt
> 544401.prt

-------

To remove everything starting with the last _ :
1:RegEx
Code: Select all
Match:  (.*)_
Replace:  \1

> 544401_A_01.prt
> 544401_A.prt
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to BRU Support