Skip to content

Automatic Folder Compression on Mac

Set up automatic folder compression on Mac so new JPEG, MP4, and PDF files compress when they land in a watch folder. Local presets, no upload step.

By Petr Samokhin

The export finishes at 6 PM. By Monday the shared drive holds forty new PNG UI shots, six MOV bug clips, and three scan PDFs nobody resized. You could drag each batch into a compressor every morning, or you could point a watch folder at ~/Exports/web and let the same preset run while you make coffee. Automatic folder compression on Mac makes sense when files land in the same directory on a predictable schedule and the output spec does not change job to job.

When folder monitoring beats manual batch

SignalExample
Same folder every weekRender output directory
Trigger is “file appeared”AirDrop ingest, screen capture folder
Settings stable for a monthWeb JPEG 1920 px, Slack MP4 720p
Team shared MacOne preset name everyone recognizes

If the pain is a one-time email bounce, read the email attachment size limits guide first. You may only need a single batch run, not permanent monitoring.

Stop monitoring when every job needs different codecs. Automation fails when “smaller” is vague and the preset drifts. Write down max width, quality, codec, and output path before you enable the watch folder.

Common watch folder setups

These patterns show up in design, QA, and operations workflows:

Watch folderPresetResult
~/Exports/webWeb JPEG 1920 pxReady for CMS upload
~/Movies/CapturesMP4 1080pSmaller bug repro clips
~/Documents/Scans/inPDF mediumLighter attachments
~/Downloads/heic-ingestHEIC to JPEG 3000 pxMLS-ready stills
~/Desktop/dropMixed media preset per typeQuick team drop zone

Output goes to a sibling folder you pick (~/Exports/web/out, for example). Originals stay in the watch folder unless your workflow moves them after success. Document which preset maps to which path so a teammate can fix it when project folders move.

For one-time folder batches without ongoing watches, see the batch compress and convert guide for Mac .

Presets that survive automation

A watch folder is only as good as the preset attached to it.

Preset fieldWrite it down
Max width / height1920 px long edge for web
Video resolution1080p vs 720p for ticket clips
Target file size (video)15 MB cap when email is the destination
Output formatJPEG, MP4, compressed PDF
Output directoryAvoid overwriting sources

Name presets for the destination, not the mood: “Slack MP4 720p 15MB”, not “small video”. Share the name in Slack or Notion so Friday exports match last week.

Start with one watch folder and one preset. Add a second watch path only when the first is stable for a month. Two presets on the same folder without subfolders usually causes confusion about which output belongs to which job.

Hazel, Automator, and GetCompress

Mac teams already automate with Automator folder actions, Shortcuts, or Hazel rules that call shell scripts.

ToolStrengthMaintenance
Automator folder actionBuilt-in, no extra purchaseBreaks occasionally after macOS upgrades
HazelRich conditions (size, weekday)You maintain the script Hazel calls
Terminal + FFmpegFull controlSomeone owns codec flags
GetCompress monitoringPreset UI, preview, mixed mediaEnable in app settings

Hazel shines when you need conditions beyond “new file appeared” (only PNG over 5 MB, only on weekdays). GetCompress folder monitoring covers the simpler “compress everything new with preset X” case without extra software or FFmpeg one-liners.

Keep a manual fallback (drag-and-drop into GetCompress) for deadline weeks when a folder action stops firing after an OS update.

Avoiding duplicate and failed runs

Automatic jobs multiply edge cases.

ProblemFix
Same file processed twiceWatch folder should receive files once; move outputs elsewhere
Partial writesWait until export app finishes before files appear in watch folder
Locked filesScreen recorder still writing; exclude temp extensions if needed
Wrong preset on mixed folderSplit ingest folders by media type

Test on a copy folder first. Drop three representative files (PNG, MP4, PDF) and confirm output size and quality before you point production exports at the watch path.

Log failures when you also run shell automation (>> ~/Logs/compress.log 2>&1). Silent failures on Friday night exports are worse than a loud error on a test folder.

Privacy for watched folders

Watch folders often hold client exports, staging assets, or unreleased campaign files. Automatic does not mean upload to a third party.

GetCompress processes files on your Mac. The watch folder path stays local. No step sends your PDF, photo, or MOV to our servers for encoding. The GetCompress privacy guide walks through what stays on disk and what may use the network separately (updates, license checks).

That matters when security questionnaires ask where files go during compression. Folder monitoring is still local processing; the trigger is just automatic.

Using GetCompress

GetCompress folder monitoring for automatic folder compression on Mac:

  • Turn on folder monitoring in settings, pick a watch folder, attach a saved preset.
  • Save presets per destination (web JPEG, email PDF, Slack MP4) and reuse them across projects.
  • Queue mixed PNG, MP4, and PDF with one preset per media type where settings differ.
  • Use target file size on video when portals cap megabytes, not pixels.
  • Pair monitoring with MCP when you also want Cursor to trigger the same presets on demand.
  • Trim video and preview output before enabling automation so bad settings do not run overnight on forty files.

For most freelancers and small teams, one watch folder plus named presets replaces hand-maintained Hazel scripts for the common “new export landed” case. Add Hazel or shell scripts only when you need conditions GetCompress monitoring does not cover.

Buy GetCompress now for local media compression with reusable presets and no media upload.