Files Magic AI · How-To

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

8-step guide·Magic Rename, Hazel & Automator·9 min read
Quick answer: Open Magic Rename in Files Magic AI, point it at a folder, Downloads, a scanner's output, or wherever your receipts land, and pick a template or leave it on Auto. New files get renamed as they arrive, with nothing uploaded and anything it isn't confident about set aside for you to review. It renames in place and doesn't move the file, so pair it with a free Automator Folder Action or a Hazel rule ($42 one-time) if you also want the newly-named file filed into a subfolder automatically.

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

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

1

Open Magic Rename

Files Magic AI

Open Files Magic AI and go to the Magic Rename page.

2

Point it at the folder you want watched

Setup

Downloads 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.

3

Pick Auto mode, or build a template

Files Magic AI

Auto 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.

4

Leave the app running

Matters

Magic 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.

5

New files rename themselves as they land

Automatic

Magic 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.

6

Check the review queue occasionally

Check in

Anything 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.

7

Add a Hazel or Automator rule to move the file

Optional

Magic 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.

8

Undo if something needs correcting

Safety net

Rename 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

ToolWatches a FolderReads File ContentCost
Magic Rename (Files Magic AI)Yes, local foldersYes, on-device$4.99/mo · $39.99/yr · $49.99 lifetime
Automator Folder ActionsYes, local foldersNo, extension/name onlyFree (built into macOS)
HazelYes, local foldersNo, rule-based$42 one-time
ZushYes, incl. cloud-synced foldersYesFree tier / $10/mo
RenameClick (Auto Flow)Yes, and moves the file tooYesFree 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.

A Shortcuts alternative to Hazel
If you would rather not buy Hazel, a Shortcuts automation triggered by new files in a folder can move files by a name pattern too, using the Find and Move Finder Items actions. It is less polished for building complex conditions than Hazel, but it is already on your Mac.

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 AI

Sources & 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

Does Magic Rename need to be open to watch a folder?
Yes. Like most Mac utilities without a dedicated background daemon, Magic Rename can only act on new files while Files Magic AI is running. Quit the app and files just sit in the folder untouched until you reopen it. If you want watching to feel continuous, open the app when you log in, and run a quick manual pass over the folder afterward to pick up anything that landed while it was closed.
Can Magic Rename watch more than one folder at a time?
Magic Rename's own feature description covers pointing it at one folder, your Downloads or a scanner's output folder, at a time. If you need two locations watched, the practical workaround other posts in this cluster use is a Hazel rule or a Shortcuts automation that funnels new files from a second location into the one folder Magic Rename is already watching.
Does watch-folder renaming move the file into a subfolder too?
No. Magic Rename renames the file in place and leaves it where it landed. If you also want it moved into a dated or vendor subfolder once it has a real name, pair the watched folder with a rules tool like Hazel or a Shortcuts folder action, the combination this guide walks through below.
Does the watched folder work with iCloud Drive, Dropbox, or Google Drive?
Not specifically. Magic Rename's watched-folder mode is built around a local folder, Downloads or wherever your scans land, rather than a cloud-synced one. Zush is the dedicated renaming specialist that explicitly supports watching cloud-synced folders including iCloud Drive, Google Drive, Dropbox, and OneDrive, if that is what you need.
What happens if two new files would end up with the same name?
Magic Rename flags naming conflicts automatically rather than silently overwriting one file with another. In a watched folder, that means a conflicting file gets held for your review instead of applied, the same safety net used for low-confidence renames.
Is my data uploaded anywhere when the watched folder renames a file?
No. The rename pipeline makes no network calls whether you trigger it manually or it runs from a watched folder. Reading and naming both happen on your Mac, using Apple Intelligence, a built-in local model, or an optional Rename LLM, so nothing about a watched invoice, scan, or receipt leaves the machine.
Can Hazel or Automator do everything Magic Rename does?
No, and that is the actual division of labor. Automator and Hazel watch a folder and apply rules you define, matching a file extension or a name pattern, but neither can read what is actually inside a file. Magic Rename reads the content, the invoice number on a PDF, the total on a photographed receipt, and proposes a name from that. Use Magic Rename to generate the name, and Hazel or Automator to move the file afterward.
Auto mode or a template for a watched folder, which should I use?
Auto mode reads each file and picks a sensible name on its own, no setup, which is the right default for a mixed folder like Downloads. A template is worth building when you want every file from one source to follow the exact same shape, for example every scanned receipt landing as date, issuer, and amount in the same order, which matters more for bookkeeping than for a general catch-all folder.
What is the difference between watch-folder renaming and a Smart Folder?
A Smart Folder (Finder's saved search) only changes which files you see; it does not touch the files themselves or their names, and nothing in it is renamed. A watched folder in Magic Rename, Hazel, or Automator actually acts on new files as they arrive, renaming or moving the real file on disk.

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