Quick Answer

Mac's built-in Automator app and the newer Shortcuts app let you create rules that automatically sort files into folders by type, name, date or any other attribute without writing a single line of code. For more powerful recurring automation, tools like Hazel add advanced rule-based sorting that runs quietly in the background whenever new files appear in watched folders.

Using Automator to Sort Files Automatically

Automator is built into every Mac running macOS and requires no extra software. Open it from Applications, choose "Folder Action" as your workflow type, and set the source folder you want to watch, your Downloads folder is the most common starting point.

Add the "Filter Finder Items" action to set your conditions, for example, kind is PDF, or name contains "invoice". Then add a "Move Finder Items" action pointing to your destination folder. Save the workflow and Automator will fire it every time a new file lands in the watched folder.

For students or professionals with predictable file types coming in regularly, this takes under 10 minutes to set up and removes the friction of manual sorting entirely.

Shortcuts App: The Modern Approach

The Shortcuts app (available on macOS Monterey and later) handles folder automation with a more visual, iPhone-familiar interface. Create a new shortcut, add a "Get Files" action pointing to your source folder, filter by file type or name pattern, then use "Move File" to route matches to their destination.

Shortcuts can be triggered manually from the menubar, on a schedule, or via a keyboard shortcut. For a weekly tidy-up routine, scheduling it to run every Sunday evening keeps your workspace clean without any manual effort.

Third-Party Power: Hazel for Advanced Rules

Hazel is the standard recommendation for anyone who wants genuinely powerful Mac folder automation. It runs as a background app and watches any folder you point it at, applying rules you define with a drag-and-drop interface. Rules can chain: if a file is a PDF and its name contains "statement", move it to Finance, rename it with the current date, then delete originals older than 6 months.

Hazel handles edge cases Automator struggles with, like detecting duplicates, managing nested folders, colour-tagging files and triggering scripts. For a professional managing large volumes of documents across multiple projects, it pays for itself quickly in time saved.

Frequently Asked Questions

Does folder automation work while the Mac is asleep?

Automator folder actions run when macOS is active. If your Mac is in sleep mode, the action fires when it wakes and processes any files that arrived while it was asleep. Hazel behaves similarly, processing queued changes on wake.

Can I automate sorting on an external drive or network drive?

Automator folder actions work on local drives and some network mounts, though reliability on network drives depends on connection stability. Hazel handles external drives well as long as they're mounted when the rules run.

Will automated folder actions move files I'm still working on?

Automator and Hazel both act on files present in the watched folder. To avoid moving in-progress files, set rules to only trigger after a file reaches a minimum age, which Hazel supports natively.

Ready to Find Your Perfect Match? Pair your organised Mac workflow with powerful hardware built for productivity. Browse graphics cards and hardware upgrades at Evetech