Apologies in advance. I am a complete newbie when it comes to programming. I am hoping that someone out there might be able to help me.
Based on the nature of my work, I have to constantly rename a bunch of images. The filenames sometimes vary, but are often some form of chronological numbers displayed in sequential order in their own separate directory (think image001.jpg, etc. but not always that naming format). Anyway, I have to rename all of the files in this particular directory to "000-001.jpg", "002-003.jpg", "004-005.jpg", etc. for every jpg file existing in that single directory. There are usually between 10-999 images in a given directory, but I am rarely given some directories with 1000+ images (in which case I begin naming all files "0000-0001.jpg", "0002-0003.jpg", etc.).
I have been manually renaming probably hundreds of thousands of these images over the course of the last several years. Now I'm finally looking for a way to batch rename them so I don't have to waste hours doing so. It seems that Automator on OSX is the easiest way to go, but Automator cannot rename files in the way I need them on its own.
I did notice that I can employ shell scripts or applescripts as part of an Automator function, so I was wondering if someone might be willing to write a short script for use in Automator (I work much better with a GUI) that would provide the above function? Unfortunately, I have no experience scripting. The absolute best ideal outcome would be for me to use that script within an Automator Application and just drag the files I need renamed onto it. This would bypass my need to open the OSX Terminal, with which I also have zero experience.
As an added note, I am using an older laptop running OSX 10.6.8. I might not have the most updated versions of Applescript, etc. to work from. I would be greatly appreciative if anyone were willing to help me out. Thanks!
-- JE