Replace a number with another in bulk

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

Replace a number with another in bulk

Postby prushnix » Thu Mar 21, 2013 3:04 am

Hello,

I need to replace a number that is in the beginning of a file name with another.

As an example. each file name has a number in front starting from 101xxxx, 102abc, 103def going all the way to 169tyu.
What I want to do is bump the number part 1 unit up so that I get 102xxx, 103abc, 104def .......170tyu where I want to keep the variable part the same while moving the numbers 1 unit up.

101xxx 102xxx
102abc 103abc
103def 104def
. .
. .
. .
. .
. .
169tyu 170tyu

If someone can help me out, I'll be really grateful
prushnix
 
Posts: 7
Joined: Thu Mar 21, 2013 2:49 am

Re: Replace a number with another in bulk

Postby Stefan » Thu Mar 21, 2013 7:51 am

From - To
101xxx 102xxx
102abc 103abc
103def 104def
. .
169tyu 170tyu


USE:
- Remove first three signs
- Add new numbering, starting at 102, as prefix
- Done



.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Replace a number with another in bulk

Postby prushnix » Fri Mar 22, 2013 6:13 am

Hey Stefan,

Thank you very much for the explanation.

It worked. :D
prushnix
 
Posts: 7
Joined: Thu Mar 21, 2013 2:49 am

Re: Replace a number with another in bulk

Postby Stefan » Mon Mar 25, 2013 2:45 pm

Thank you for feedback :D
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to BRC Support