Mac Automation: Rename multiple files efficiently

With Automator, you can easily streamline common tasks. If you work with many files (i.e. pictures), then you know how easy it is to lose track because of incorrectly named files. With this Automator workflow, you'll never lose your place (or a file) again.
Building the Workflow
To create this workflow, simply add the following Automator actions (in the same order):
- Get Specified Finder Items
- Rename Finder Items
When you add the "Rename Finder Items" action to your workflow, Automator will ask if you want to copy the files so you don't mess with the originals. Choose "Don't Add."
Configuring the Workflow
In the "Rename Finder Items" action, you have almost unlimited choices for renaming schemes. To get started, select a scheme from the first drop-down box. You can choose from: Add Date or time, Add Text, Change Case, Make Sequential, Replace Text, Name Single Item.
Once you select your renaming scheme, choose the options you want based on the scheme. For instance, if you wanted the "Make Sequential" scheme, you could choose to use existing naming, or create a new name. You can also select options for where to place the numbers, which number to start counting from, and how to separate the number from the rest of the text.
Running the Workflow
Once you have your naming scheme figured out, it's time to run the workflow, and have Automator do the heavy-lifting. Drag and drop the files you want renamed onto the "Get Specified Finder Items" workflow. They will be added to the list of files to be renamed. You can then click the "Run" button in the top-right corner of the window. Your original files will be renamed, leaving you with perfectly renamed files. You can now save your workflow.
Want more Mac Automation or AppleScript tutorials? Visit TUAW's Mac Automation and AppleScript sections.
Share
With Automator, you can easily streamline common tasks. If you work with many files (i.e. pictures), then you know how easy it is to lose...
Add a Comment
I use this workflow all the time to rename pictures I download from my digital camera with Image Capture. However, I find it most useful to add a sort command after 'get finder items'. It keeps things in the right order if you're naming things sequentially. I can't remember the exact command because I'm on a PC at work right now...
November 12 2008 at 11:45 AM Report abuse Permalink rate up rate down ReplyWas also going to sing the praises of Name Mangler deff the way to go! You can even make workflow type droplets for repeated actions.
November 11 2008 at 5:27 PM Report abuse Permalink rate up rate down ReplyRenamer4mac is free and amazing. It's saved me so much time.
November 11 2008 at 4:33 PM Report abuse Permalink rate up rate down ReplyI agree Renamer4Mac is amazing, but it's no longer free.
November 11 2008 at 10:56 PM Report abuse Permalink rate up rate down ReplyAnother vote for the 2.x version of Renamer4Mac. The 3.x versions are all way too expensive for what it does. I will look into NameMangler though.
November 12 2008 at 2:18 AM Report abuse Permalink rate up rate down ReplyOr use Name Mangler. http://www.manytricks.com/namemangler/
yours is way better then the one I posted. Thanks for the link!
November 11 2008 at 5:38 PM Report abuse Permalink rate up rate down ReplyYes! Good old File List has become Name Mangler. Still insanely quick and easy. Still donation-ware which works perfectly whether you pay or not. Still rocks.
I was very excited when I first read about Automator in Tiger. The one issue I still have with AppleScript is the tedious setup syntax. But Automator has been a bust for me. Still obtuse (for anything besides the nice and simple example above), oddly slow, unpredictable results. I had a fever, Automator was the Rx, then I passed out while standing in line at the pharmacy.
Hot Apps on TUAW
Deals of the Day
more deals- Altec Lansing Octiv Duo iDock for $48 + free shipping
- Used Apple iMac 17" Core Duo 1.83GHz for $430 + $28 s&h
- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



8 Comments