remove name part of multile files


macrumors G5
Original poster
Mar 21, 2011
Australia, Perth
Hi all...

Is it possible with Automator to remove certain parts of a filename across multiple files. ?

I have about 200+ files I'd like to remove all brackets, periods, and such and dates.

no two dates are the same, however there is one piece of text with is unique to all associated files

I'd like to remove find, and remove all of this info given in files from this name.

Can this be done ? , or would i need to use third-party app ?

eg file 1 [9-01-2014], YM
file 2 [downloaded by] YM

Hinting on "YM" as the unique text, however this this at the end of all files. Also wanting to replace "periods" as "spaces"


macrumors 65816
Feb 16, 2013
Well I know for certain you can do this in bash. Not certain on what level automator handles wildcards.

Edit: Just checked looks like * is supported so you should be good.

Here's the automator batch rename workflow that I use:


  1. Drag items into "Get Specified Finder Items" window
  2. Edit the window below to find and replace whatever you want
  3. Run the workflow by pressing the Run button in the top right corner
Last edited:


macrumors G5
Original poster
Mar 21, 2011
Australia, Perth
ok, i just tried * it didn't work..

I've actually done that one at a time, but i need to now do the same thing with removing numbers..

01 . xxxx
02. yyy
03. xxx


If i stick in in "Find" 01. " and under "Replace" i leave it blank, this removes '01. ' (including the space) from the beginning of the file name.

But this only applies to one file at a time since its user entered.

Is there a way to automatically do it to all numbered files.. ?

Automator said it completed, but nothing happened when i went back to folder
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.