OS X Workflow: Batch Editing - Renaming a Long List of Files
I’m not sure if this will apply to everyone in the design world, but renaming a huge list of files can be a real pain, and I’ve found myself in need of batch editing countless times. It’s so much faster and easier to do a “Batch Rename” to save a ton of time, and a ton of clicks. OS X has a built-in utility called Automator that can do just that, among many other things. I’ll keep it simple for now, but depending on the reaction I get, maybe I can go into more detail about Automator in future posts.

Overview:
Automator is an application that runs a series of customizable scripts called ‘actions.’ A series of ‘actions’ is called a ‘workflow.’ I created a Batch Rename Workflow for anyone who doesn’t feel like making their own. You can download it here. Just unzip, double-click, choose your settings and you’ll be batching in no time.
1. Download and Unzip
Download the workflow, unzip it then double-click and it will open in Automator. (Note: you may want to save it in Automator and choose one of Automator’s default locations, so you’ll be able to find it each time you launch Automator.)
2. Choose Your Settings
You should now have the workflow open inside the Automator Application. Now all you have to do is 1) add/choose the folder where all your files are located that need renaming, 2) Choose a location for the files after they are renamed, and 3) Choose a name for the new series of files. (There are lots of naming options: sequential, replace text, etc.)

3. Run the Workflow
Once you have all of your setting in place, Click the “Run” button in the top right to execute the script and you’re done, Depending on how many files you just renamed, you probably save a few minutes at least. You might notice that this workflow makes a copy of each file before it renames them. This is so it leaves your original file intact, but If you simply want to rename without copying, just close the “Copy Finder Items” action inside the workflow.

If you’re new to Automator but you’re curious you can browse the Apple Downloads Automator section for tons of free downloads including an awesome Set of Automator Actions for Photoshop. You can batch anything from image size to color mode, orientation, file type and more. You’d be surprised.
Related Posts:
- OS X Workflow: Save a Click When Using Stacks
- How to set the default program to open a certain type of file in Mac OS X
- Workflow: Preview EPS Files in Finder and QuickLook
- Photoshop 101: Edit Text Faster
- Improve Your Illustrator Workflow with Layer Masking
- How To: Get Mondrianum Working in Photoshop
Tags: Batch Editing, Batch Rename, OS X, Workflow









I like this method, but found a cool app that makes it even easier and can store all of your informaion in cool droplets to reuse all the time.
http://www.manytricks.com/namemangler/
I second with you Mike D. The Name Mangler app is pretty handy when needing to re-name multiple files (a little easier to work with than automator).
Another great post (as always)… and with the greatest intentions (you’re such a helpful soul)… that said, I have to agree with the above posts… namemangler is probably an easier option for most. More info here:- http://lifehacker.com/392018/name-mangler-bulk-renames-files
now, is there an easy way in winXP? I’ve used photoshops automator tool but is there a way to do it without opening ps?
I do that a lot to rename digital cam images when I usually take 200 plus on any given day…
Sweet. I’m always down for an easier way. Thanks for the link guys:)
~Bitt
Okron:- there most certainly is…
http://www.irfanview.com/
This is freeware for non commercial use.
You can read about it here:-
http://lifehacker.com/345755/batch-resize-images-with-irfanview
Den4b has a great light-weight naming program titled, “Renamer”. It’s easy to use and most of all is free. Everyone should check this out and his other freeware. Very cool.
http://www.den4b.com/downloads.php?project=ReNamer
Here’s an addition: You can use “Get selected Finder Items” instead of the first three actions. Then save the whole workflow as an plug-in for Finder et voila: batch renaming with a right-click (or ctrl + click) ! This is much easier than starting Automator every time you want to rename something quickly.
Thanks Bitt. Great article! Is there a way in automator to rename by creation date with nested counters?
Saved a lot of heartache using this app the other day:
http://web.mac.com/mickeyroberson/MRR_Software/NameChanger.html
Excellent !
Name Mangler for sure, I used to use some other app for this but it was a tad on the buggy side.
I’ll throw one out there too, TheRename. You can use this one to change extensions to lower case as well. If I’m not actually doing something with images in PS this is what I like to use.
http://www.herve-thouzard.com/modules/wfsection/article.php?articleid=1#t4
yup run into this a lot. I take screenshots non-stop and when my desktop gets full of “Picture #.png” I have to put everything in yet another folder because all the previous screenshot folders would already have files with the same names. Luckily I recently found a way to change the default saved location for screenshots so now the all go into a sensible folder. “Picture -infinity-.png” :)
i was searching sth like this thanks
That’s an awesome application, thank you for sharing! You made my life much easier:)
BITT!!!!!!!!!!!!!!! What’s going on man? I need some freebies, I NEED SOME FREEBIES!!!!!!!!!!
I’ll second the NameChanger reccomendation for OS X, used it just this morning in fact :)
For WinXP I find FastStone is much better/easier to use/more intuitive and better looking than IrfanView (and has all the renaming options you could wish for). http://www.faststone.org/
If there was one application that I would use XP for it’s FastStone. (And no, I’m nothing to do with them, it just does everything you need from an image browser with minimal fuss.) I still can’t find an equivalent for OS X that’s anywhere near as good and am in the process of installing it under VM Fusion for that reason.