Home » Apple » Batch change file names with Apple Script
Comments Off on Batch change file names with Apple Script

Batch change file names with Apple Script

AppleScript Editor Script menu

AppleScript Editor Script menu

A friend and I were talking and she asked if I know how to change a batch of file names. I mentioned it’s simple with the Script Menu.

Is your Script menu in your menu bar? Here’s how to turn it on. Launch Apple Script Editor (~/Applications/Utilities/AppleScript Editor). In preferences choose “Show Script menu in menu bar”.

Now select all the files you want to rename, go to the Script menu:

Finder Script

Replace Text in Item Names

in the dialog box select “File Names”

in the dialog box “Enter text to find in the item names:” type the part on the name you want removed

in the dialog box “Enter replacement text:” type the new name

Do you want to just remove part of all the file names? You can do this too. Don’t insert any text in the last dialog box “Enter replacement text:”.

Alternatively if you choose the Script “Add to File Names” you can add text as prefix or suffix to your files.

Have fun and be careful with this. There’s no undo!

Click an image to open a portfolio. All images copyright 2014, Lande Pictures LLC.