Batch rename files on Mac with a live preview and undo
- Select the files and press ⇧⌘R (or Return with several selected).
- Add rules: Replace text, Regex replace, Add prefix or suffix, Sequence number, Date, Change case.
- Check the preview and click Rename. ⌘Z undoes it, ⇧⌘Z redoes it.
Finder's Rename Items does one thing at a time (replace, add text or format) and there's no undo once it's done.
In Sunroom Files, select the files and press ⇧⌘R. Click Add Rule to stack as many rules as you need. They apply top to bottom, and you can reorder or remove them:
- Replace text (with Match case) and Regex replace with $1, $2 groups.
- Add prefix, Add suffix, Sequence number, Date (including Date taken for photos) and Change case.
- Include extension decides whether the rules touch the file extension.
The preview lists every current and new name, with how many will change, while you type. Click Rename, and if it's wrong, ⌘Z puts every name back (⇧⌘Z redoes it).
More examples in Batch rename files on Mac.





