Adding a fixed number to every file

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

Adding a fixed number to every file

Postby oyvindtr » Thu Feb 17, 2011 3:22 pm

Hi,

I've got a bunch of files i need to rename. They all got names like this: 12000.jpg, 12006.jpg and so on.
What i need, is to add a fixed number to the filename, by adding it together.

Like this:

Add 61000 to all filenames:
12000.jpg --> 73000.jpg
12006.jpg --> 73006.jpg


Can anyone tell me how to do this?
Thanks!

-Oyvindtr
oyvindtr
 
Posts: 3
Joined: Thu Feb 17, 2011 3:19 pm

Re: Adding a fixed number to every file

Postby Stefan » Thu Feb 17, 2011 4:15 pm

Guessed on your example,

...if the files are numbered in a row without skips,
12000.jpg
12001.jpg
12002.jpg

you can remove the whole name
.jpg
.jpg
.jpg

and do a new numbering, starting at 73000
--> 73000.jpg
--> 73001.jpg
--> 73002.jpg
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU

Re: Adding a fixed number to every file

Postby oyvindtr » Thu Feb 17, 2011 7:04 pm

Thanks for your answer, but they are not without skips.. Thats the main problem ;)
oyvindtr
 
Posts: 3
Joined: Thu Feb 17, 2011 3:19 pm

Re: Adding a fixed number to every file

Postby Stefan » Thu Feb 17, 2011 11:06 pm

I was afraid that that is the case ;-)

If you don't mind take an look here >>> http://www.den4b.com/forum/viewtopic.php?pid=5381#p5381


HTH?


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

Re: Adding a fixed number to every file

Postby oyvindtr » Wed Mar 23, 2011 2:15 pm

Thank you so much! It really did help me out!
oyvindtr
 
Posts: 3
Joined: Thu Feb 17, 2011 3:19 pm


Return to BRU Support


cron