How to Rename Files Automatically When They Land in a Folder on Mac
Set it up once, and every new download, scan, or receipt gets a real name the moment it arrives, no drag-and-drop required.
By Ram Velmurugan · Founder & Lead Developer, 1dot.ai
Renaming one file at a time works fine until it doesn't. A folder that fills up with scans, downloads, or receipts every single day turns "drag it into Magic Rename when I remember" into a backlog you never quite clear. A watched folder fixes that by moving the trigger from you to the file itself: the moment something new lands, it gets renamed on its own.
This guide covers Magic Rename's own watched-folder mode, step by step, then the two places it stops short, moving the file afterward and watching cloud-synced folders, and how to close both gaps with Hazel or the free Automator Folder Action already built into macOS.
- What "watch a folder" automation actually means
- Setting up Magic Rename's watched folder, step by step
- What happens to files it isn't confident about
- Three ways to watch a folder on Mac, compared
- Comparison table
- Pairing Magic Rename with Hazel to also move the file
- The free option: Automator Folder Actions
- Troubleshooting a watched folder that stops working
- Sources & further reading
- FAQ
What "Watch a Folder" Automation Actually Means
Two different kinds of tools can watch a folder on Mac, and they solve two different problems. A rule-based watcher, Automator's Folder Action or Hazel, looks at surface facts about a new file: its extension, its name, when it arrived. It can move every .pdf into one folder and every .png into another, but it cannot tell a client invoice from a personal receipt when both are .pdffiles, because it never looks past the file's metadata.
A content-reading watcher, Magic Rename among them, actually opens the file, the text of a PDF, the cells of a spreadsheet, a photo of a receipt read with OCR, and names it based on what is inside. That is the difference between a folder full of consistently-labeled mystery files and one you can actually search.
The two are not competitors; they are stages. Content-reading renaming decides what to call a file. Rule-based automation decides where it goes once it has a name worth acting on. The rest of this guide sets up both.
Setting Up Magic Rename's Watched Folder, Step by Step
Open Magic Rename
Files Magic AIOpen Files Magic AI and go to the Magic Rename page.
Point it at the folder you want watched
SetupDownloads is the obvious default, but a dedicated scanner output folder, a receipts folder you drop phone photos into, or wherever invoices land all work the same way.
Pick Auto mode, or build a template
Files Magic AIAuto mode reads each file and decides a name on its own, the right default for a mixed folder like Downloads. For a folder that only ever gets one kind of document, receipts or invoices, a saved template (built from fields like date, vendor, and amount) keeps every file in that exact same shape.
Leave the app running
MattersMagic Rename can only act on new files while Files Magic AI is open. It is not a background daemon that keeps working after you quit the app, so if you want watching to feel continuous, keep it open, or reopen it and run a quick pass over the folder after a stretch where it was closed.
New files rename themselves as they land
AutomaticMagic Rename waits until a file has actually finished downloading or saving before it touches it, so a scan mid-transfer or a large download in progress won't get renamed on a half-written file.
Check the review queue occasionally
Check inAnything Magic Rename isn't confident about, a faded scan, an unusual layout, a naming conflict with an existing file, is set aside for you rather than renamed blind. That queue is worth a glance every so often rather than assuming everything went through.
Add a Hazel or Automator rule to move the file
OptionalMagic Rename renames in place and stops there. If you want the newly-named file filed into a dated or vendor subfolder automatically, that is a second, separate rule, covered below.
Undo if something needs correcting
Safety netRename history holds up to 2,000 past renames, and undo still finds a file even if it has since been moved by a Hazel or Automator rule on top.
What Happens to Files It Isn't Confident About
A watched folder that renamed everything blind, no matter how confident it was, wouldn't be worth trusting with financial documents or anything else you care about. Magic Rename holds low-confidence files back instead: a scan that's too faded to read reliably, a document type it can't identify, two new files that would end up with the same name. Those sit in a review queue rather than getting a guessed name applied automatically, so an unattended folder still has a checkpoint before anything questionable becomes permanent.
Three Ways to Watch a Folder on Mac, Compared
Automator Folder Actions are free and built into every Mac. You create a Folder Action, point it at a folder, and chain together steps like Filter Finder Items and Move Finder Items. It sorts by file type or name pattern, which handles simple cases well, but it has no idea what's actually inside a file.
Hazel is the long-standing favorite for rule-based folder automation on Mac, a $42 one-time purchase that runs entirely locally. You define if-this-then-that rules per folder, more capable and friendlier to set up than Automator, but still working from filenames and metadata rather than content.
Magic Rename and other AI renaming specialists (Zush, RenameClick, NameQuick, Renamer.ai's Magic Folders) watch a folder the same way, but actually read what's inside each file, an invoice number, a receipt total, the words in a screenshot, before naming it.
Comparison Table
| Tool | Watches a Folder | Reads File Content | Cost |
|---|---|---|---|
| Magic Rename (Files Magic AI) | Yes, local folders | Yes, on-device | $4.99/mo · $39.99/yr · $49.99 lifetime |
| Automator Folder Actions | Yes, local folders | No, extension/name only | Free (built into macOS) |
| Hazel | Yes, local folders | No, rule-based | $42 one-time |
| Zush | Yes, incl. cloud-synced folders | Yes | Free tier / $10/mo |
| RenameClick (Auto Flow) | Yes, and moves the file too | Yes | Free tier / ~$8/mo |
Pricing and features verified against each tool's own materials and Magic Rename's product page in August 2026.
Pairing Magic Rename With Hazel to Also Move the File
Since Magic Rename renames in place rather than filing the result away, a second rule watching the same folder can pick up right where it leaves off. Set Hazel to watch the same folder Magic Rename is watching, but write the rule's condition against the renamed pattern, for example any file whose name starts with a date and contains "Invoice" or "Receipt", so Hazel only acts on files Magic Rename has already processed rather than the original Scan_0043.pdf.
That gives you a two-stage pipeline: Magic Rename reads the file and gives it a real name, then Hazel moves that named file into ~/Documents/Invoices, ~/Documents/Receipts/2026, or wherever your filing system expects it, with neither tool doing the other's job.
The Free Option: Automator Folder Actions
If you would rather not add a paid tool at all, Automator's Folder Action can move files by type on its own, no AI, no subscription. Choose the Folder Action document type, point it at Downloads or the folder you're watching, and add Filter Finder Items and Move Finder Items steps, for example every .pdf into one folder and every .png into another.
The catch is the same one that applies to any rule-based watcher: Automator sorts by file extension, not by what a file actually is. It can put every PDF in one place, but it can't tell a client contract from a restaurant receipt, which is exactly the gap content-reading renaming closes.
Troubleshooting a Watched Folder That Stops Working
New files aren't renaming. Confirm Files Magic AI is actually open; Magic Rename can't act on a folder while the app is closed. If it's open and still not picking up new files, check the review queue first, files sitting there aren't stuck, they're waiting on you.
A file got skipped entirely. Most likely it landed while the app was closed. Run a manual selection over the folder to catch anything that arrived during that gap.
Two files ended up in conflict. That's expected behavior, not a bug. Magic Rename flags naming conflicts in the review queue rather than silently overwriting one file with another.
Hazel or Automator moved a file before Magic Rename renamed it. Check the rule's condition. If it matches on the original filename pattern (Scan_*.pdf) instead of the renamed one, it can grab the file before Magic Rename gets to it. Rewrite the condition to match the renamed pattern instead, as covered above.
Stop dragging files in one at a time
Point Magic Rename at Downloads once, and every new scan, invoice, or receipt gets a real name on its own. 7-day free trial, no credit card required.
Try Magic RenameExplore Files Magic AISources & Further Reading
Magic Rename's watched-folder feature, engines, and templates: Files Magic AI's Magic Rename product page. Automator Folder Actions and Hazel, compared in more depth: how to organize your Downloads folder and FilesMagic AI vs Hazel.
The same content-aware renaming approach applied to specific file types: renaming invoices, renaming scanned receipts, and renaming screenshots automatically. How AI file renaming and folder-watching compare across tools more broadly: our AI file renaming guide, including Magic Rename vs Zush and Magic Rename vs RenameClick, both of which watch cloud-synced or destination folders that Magic Rename doesn't yet reach.
Frequently Asked Questions
A folder you have to remember to clean up is a folder that never gets cleaned up. Point Magic Rename at it once, and every new file gets a name worth searching for on its own, entirely on your Mac. Add a Hazel rule or a free Automator Folder Action on top and the file moves itself, too. For the same approach applied to the documents that pile up fastest, see how to rename invoices on Mac and how to rename scanned receipts on Mac. For a wider look at how this category of tool works and how Magic Rename compares to Zush and RenameClick, read How AI File Renaming Works on Mac.
Published August 27, 2026 · More guides · Files Magic AI