Link to home
Start Free TrialLog in
Avatar of etech0
etech0Flag 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!
Avatar of Jim-R
Jim-R
Flag of Canada image

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.
Avatar of 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
Avatar of Jim-R
Jim-R
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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.