How to Rename Files Automatically on a Mac, From Batch Rename to Names Read From the Content
invoice_0326.pdf, IMG_2041.HEIC, document(3).pdf. Batch rename in the Finder, Shortcuts and Automator, and names written from what the file actually says.
Jungle Labs2 min read
On this page2 min left
- The Finder renames a batch of files with a counter or a date, in a few clicks.
- Shortcuts and Automator repeat the same rule on every new file.
- None of them can read the file. Inner Files (our app) writes the name from the content, and asks first.
Files arrive with the name a machine gave them: invoice_0326.pdf, IMG_2041.HEIC, e-ticket-88231.pdf. A good name says what the file is without opening it. A common pattern is date first, then the subject: 2026-03 Energy bill.pdf.
Batch rename in the Finder
- Select the filesIn a Finder window, select everything that should follow the same pattern.
- Choose RenameControl-click, then Rename. The sheet offers three modes.
- Pick a modeReplace Text, Add Text, or Format (a name followed by an index, a counter or a date).
- Check the exampleThe sheet shows the first new name before you confirm.
It is quick for a series: forty photos from the same trip, a set of slides. It gives every file the same base name, so it can’t tell an invoice from a contract.
Shortcuts and Automator
The Shortcuts app has a Rename File action, and Automator has Rename Finder Items. Attach a workflow to a folder with Folder Actions and every file that lands there is renamed by the same rule: add the date, replace spaces, add a prefix.
Names written from the content
Inner Files reads each file on your Mac and proposes a name from what it says: the month and supplier of a bill, the date and route of a train ticket. Point at a file to see the name it would get:
The names come with a destination folder, as part of an organizing plan. You can keep the current folders and choose "Rename only". Nothing changes before you approve, and every rename can be undone from History. Organizing and renaming are part of Pro, paid once.
At a glance
| Tool | Many files at once | Reads the content | Asks first | Undo |
|---|---|---|---|---|
| Finder Rename | Yes | No | Shows an example | Edit › Undo |
| Shortcuts, Automator | Yes | No | No | No |
| Inner Files | Yes | Yes, on the Mac | Yes, every time | From History, anytime |
Questions
- How do I rename several files at once on a Mac?
- Select the files in the Finder, Control-click and choose Rename. You can replace text, add text before or after the name, or apply a format with a name and a counter, index or date.
- Can a Mac rename files based on their content?
- Not with the built-in tools: the Finder, Shortcuts and Automator work on names, dates and counters. Inner Files reads each file on the Mac and proposes a name from its content, such as the date and supplier of an invoice, which you approve before anything changes.
- What is a good naming convention for documents?
- Start with the date in year-month order (2026-03), then what the document is and who it comes from. Names sorted alphabetically then sort by date, and stay readable outside the folder.