Page 1 of 1

Bulk Image Name Rename

PostPosted: Sun Aug 05, 2018 6:54 am
by lostdog
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.

Re: Bulk Image Name Rename

PostPosted: Sun Aug 05, 2018 11:58 am
by Deano045
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.

Re: Bulk Image Name Rename

PostPosted: Tue Aug 07, 2018 1:16 am
by lostdog
Thanks Deano,
I need a wild card after the _. The number are never the same see second example form first post.

Re: Bulk Image Name Rename

PostPosted: Tue Aug 07, 2018 4:33 pm
by therube
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