Avatar of etech0
etech0
Flag for United States of America asked on

Ant Renamer 2 increment file names

Hi!
I’m trying to use a regular expression in Ant Renamer 2 to increment a number that appears in the filename of a bunch of files by a specified number.

EG:
I have:
IMG_1000.jpg
IMG_1001.jpg
IMG_1003.jpg

And I want them named: (add 20)
IMG_1020.jpg
IMG_1021.jpg
IMG_1023.jpg

How can I do that? I'm open to using another program if there is a better one out there. (I prefer free, and portable if available.)

Thanks!
Windows 7Software

Avatar of undefined
Last Comment
etech0

8/22/2022 - Mon
Jim-R

I have used the FREE Bulk Rename Utility for a while now.  What you want to do in your example shouldn't even require a regular expression to accomplish even though this utility does have that feature available.

Have a look and see what you think.  It can even be available for use in any Windows Explorer folder, including the desktop, from the right click context menu.
etech0

ASKER
I actually tried using that program, but couldn't figure out where to start. The UI is rather confusing.

Can you tell me how to do what I need with it?
ASKER CERTIFIED SOLUTION
Jim-R

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
etech0

ASKER
I actually need more complicated than just replacing 100 with 102. Those numbers were examples - I have many many pictures and videos, and need to add 13 to all the file names.
I think I probably would need a regular expression.
Your help has saved me hundreds of hours of internet surfing.
fblack61
etech0

ASKER
I'm going to repost with a better title.

See:
https://www.experts-exchange.com/Programming/Misc/Q_27735081.html