batch file renaming?

Hey there, I also posted a similar question in the Automator section, but not sure if that was the right track.

I’m trying to rename a few thousand files, and I feel like there should be an easier way than going through manually to do it.

Here’s the situation. I have a lot of files named things like “0001-001.jpg”, “0002-001.jpg”, “0003-001.jpg”. And I need to change that final “1” to a “2”, so it will be like this: “0001-002.jpg”, “0002-002.jpg”, “0003-002.jpg”, etc.

Any ideas how I could script this to do automatically?

Thanks a lot!

Chris

Hi. There is a ready-made script”using a text item delimiter method”that will do exactly what you want, and it’s already on your hard drive.

Navigate to: /Library/Scripts/Finder Scripts/Replace Text in Item Names.scpt

Thanks a lot! Next time I’ll RTFM-- or at least look through the scripts already built in!