Marco Pracucci

Rename multiple files on Mac

by Marco Pracucci Comments

I love semplicity and I love tools that do one job, yet well. Today I had to rename multiple files on Mac, and rename saved me a lot of time.

How it works

brew install rename
rename -s "from" "to" *.*

Ie. to replace “Filter” with “DataFilter” on all Filter*.php files inside a directory, you’ve just to run:

rename -s "Filter" "DataFilter" Filter*.php

Upcoming conferences

I will join the following conferences. Reach me out on Twitter if you wanna meet:
Incontro DevOps 2020 Virtual 22 October 2020

Comments