An Automator workflow and Finder service for renaming files so they’re web-friendly.
- Replaces spaces with a dash
- Replaces underscores (_) with a dash
- Replaces ampersands (&) with a dash
- Replaces pound signs (#) with a dash
- Replaces the common string of ’ - ’ with a dash
These swap-outs are what work for me, but I highly encourage you to open the workflow in Automator and adjust to your needs.
To install as a Finder Service, double-click ‘Rename for Web - Finder Service’ and choose Install.
Run the workflow by right clicking a file(s) and choosing Rename for Web under Services.
I've also included a regular Workflow version, which you can run straight from Automator, which allows you to drag folders or files into Automator and manually run the workflow.