Removing only a certain string

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

Removing only a certain string

Postby KnowoneKnows » Wed Sep 21, 2016 3:17 am

Hey there and thanks in advance for any help that can be provided. :o)

I have about 900 files I need to rename.

They are image files, and have been optimized. The problem is that when they were optimized, the filenames were changed. For example,
"100-dollar-bill-1024x437.jpg" was renamed to
"100-dollar-bill-1024x437@2x.jpg"

I tried using "Remove" 5 in BRU, and chose Chars = @2x, but it didn't work right. So I tried Chars = "@2x". When I did this, the result was "100-dollar-bill-104437.jpg", as it removed the "x" from in between 1024 and 437.

I've done the best I can. May I have some suggestions?

Thanks! :o)
KnowoneKnows
 
Posts: 5
Joined: Wed Sep 21, 2016 3:01 am

Re: Removing only a certain string

Postby Admin » Wed Sep 21, 2016 3:36 am

Hi, did you try removing the last 3 chars? thanks
Admin
Site Admin
 
Posts: 2343
Joined: Tue Mar 08, 2005 8:39 pm

Re: Removing only a certain string

Postby Admin » Wed Sep 21, 2016 3:39 am

Or use entry

@,2,x=

in Special (14) -> Character Translation
Admin
Site Admin
 
Posts: 2343
Joined: Tue Mar 08, 2005 8:39 pm

Re: Removing only a certain string

Postby KnowoneKnows » Wed Sep 21, 2016 5:15 am

Thanks for the speedy assistance! :o)

I tried deleting the last 3 characters, and

"100-dollar-bill-1024x437@2x.jpg" got renamed to

"100-dollar-bill-1024x47.jpg"

I'll have to go back to try your other option.

Thanks again. :o)
KnowoneKnows
 
Posts: 5
Joined: Wed Sep 21, 2016 3:01 am

Re: Removing only a certain string

Postby KnowoneKnows » Wed Sep 21, 2016 5:19 am

I next tried the #14 option, and
100-dollar-bill-1024x437@2x.jpg

became

100-dollar-bill-1024x4372x.jpg

:o(

Thanks anyway.
KnowoneKnows
 
Posts: 5
Joined: Wed Sep 21, 2016 3:01 am

Re: Removing only a certain string

Postby KnowoneKnows » Wed Sep 21, 2016 6:32 am

Hi! :o)

I tried again to remove the last 3 characters, and this time it appears to have worked. :o)

I'll recheck it tomorrow, as I'm really tired now, but I wanted to post this so nobody would be bothered trying for a fix.

Thanks so much for volunteering to support a free app!
KnowoneKnows
 
Posts: 5
Joined: Wed Sep 21, 2016 3:01 am

Re: Removing only a certain string

Postby KnowoneKnows » Wed Sep 21, 2016 7:13 am

Couldn't wait! ;o)

Works fine!

Thanks! :o)
KnowoneKnows
 
Posts: 5
Joined: Wed Sep 21, 2016 3:01 am


Return to BRU Support