MainspringGuides › Folder Actions
macOS Guide

How to Auto-Process Files Added to a Folder on Mac

Updated July 2026 · 3 min read

A Folder Action is a folder with a job. Drop files in, and macOS runs a workflow on them automatically — convert every image to JPEG, file PDFs by date, tag everything red for review. It's the oldest trick in Automator and still one of the best, because it works while you do something else. No third-party apps, works on Ventura, Sonoma, and Sequoia.

Build the Folder Action

  1. Open Automator, choose File → New, and pick Folder Action.
  2. At the top of the workflow area, use Folder Action receives files and folders added toChoose folder… and pick (or create) the folder to watch. A fresh folder like ~/Drop-Convert is better than pointing at Downloads — more on that below.
  3. Drag actions in from the library. They receive every newly added file as input and run top to bottom.
  4. Save (Cmd+S) with a descriptive name like Convert to JPEG. There's no app to launch afterwards — the folder is now live.

A worked example: every image becomes a JPEG

Say you constantly receive HEIC photos and screenshots in mixed formats, and everything needs to end up as JPEG in one place:

Drop a HEIC file into the watched folder and give it a second or two: the JPEG appears in the destination. Other useful building blocks: Rename Finder Items (add today's date to everything), Set the Label of Finder Items (auto-tag for review), and New PDF from Images.

Managing what's attached where

Right-click any folder in Finder and choose Folder Actions Setup… (look under Services at the bottom of the menu if it isn't listed directly). The dialog shows every watched folder on the left and its attached workflows on the right — this is mission control. From here you can attach existing scripts to more folders, untick one temporarily, or select and remove it entirely. The master Enable Folder Actions checkbox at the top kills or revives the whole system at once.

Saved Folder Action workflows live in ~/Library/Workflows/Applications/Folder Actions; to edit one later, open the file from there and it loads back into Automator.

Rules that save you grief

Automate the rest of your Mac

While your folders process files by themselves, Mainspring handles the settings side: 90+ hidden macOS tweaks — Finder, Dock, screenshots, power — as labelled, reversible toggles.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once

Keep Downloads under control the same way

The most popular use for this technique is taming the Downloads folder — filing installers, archiving old files, keeping the desktop honest. There's a full walkthrough in how to clean up your Downloads folder, which pairs nicely with a Folder Action doing the boring part forever.