Possible Duplicate:
Renaming many files in Mac OS X, batch processing

how I can rename a many files with command line in osx?
in linux exits a "rename" command, exist a similar in osx?


2 Answers 2


You can try to install MacPorts and install the renameutils package:

renameutils @0.10.0 (sysutils)

renameutils is a set of programs designed to make renaming files faster and less cumbersome

  • 2
    I prefer brew ; brew install rename
    – juanpablo
    Oct 12, 2011 at 0:19
  • I notice that renameutils does not contain a 'rename' port (nongnu.org/renameutils). I'd be interested to see which command you substitute for rename and the usage.
    – doub1ejack
    Jul 11, 2016 at 20:59

If you want to do it without the command line, there is Automator. You can me a workflow with the rename Finder items action, and this allows you to (among other things) to substitute parts of a name with something else. You could apply this to to selected items or make it a folder action etc..

Not the answer you're looking for? Browse other questions tagged or ask your own question.