Example: We have a folder filled with 30 images with inconsistent names. These images need to be named consistently and numerically: image1.jpg image2.jpg image3.jpg ... image30.jpg Can this be automated?
Hazel monitors folders for changes and can rename newly added files. Commercial with full-featured demo.
Name Mangler is a file rename utility. Just drag & drop files on the program window and set the rules. The preview shows how the files will be named afterwards. Commercial with full-featured demo.
Your Mac comes with Automator, a tool allowing you create so-called workflows.
Launch it, and select to create a new workflow. From the Library, add a Get Specified Finder Items action and a Rename Finder Items action (don't create copies of the files when asked about it). Drop & drop files on the first action to add them to the workflow. Configure the second as shown to Make Sequential with new name and separated by nothing. Run by pressing the "Play" button in the toolbar.
To do this from the command line in
You can use a shell command like this:
Another option is to run
Driveby answer, in case someone lands on this page in the future: Yosemite (OSX 10.10) added batch-renaming to the finder, so now all one has to do to perform such operations as OP's is select all the files that need renaming, right/control-click on them, and select