Your ~/Desktop has 437 files in it. Most of them are screenshots called Screenshot 2025-09-04 at 3.42.18 PM.png. You haven’t deleted them because some are useful (a tracking number, a UI bug, a recipe) but most aren’t, and you can’t tell which without opening each one. The mess grows by ~5 files a day. Cmd+Shift+5 doesn’t even ask where to save anymore — you’ve trained the muscle memory of “screenshot, ignore.”
Apple Shortcuts can fix this with a small Personal Automation that runs whenever your screenshots folder changes. The recipe: rename the file to something searchable, drop it into a year/month subfolder, optionally upload it to a cloud target if you tagged it that way. Once it’s running, you stop thinking about screenshot management forever.
Step 1 — point screenshots at iCloud Drive (not Desktop)
The default save location is the Desktop. Move it to a dedicated folder so the automation has something specific to watch:
- Take any screenshot (Cmd+Shift+5).
- In the small toolbar that appears, click Options.
- Under Save to, pick Other Location….
- Create / select
~/Library/Mobile Documents/com~apple~CloudDocs/Screenshots/— that’s iCloud Drive’sScreenshotsfolder, accessible from any of your Macs and iCloud.com.
From now on, every Cmd+Shift+3, Cmd+Shift+4, Cmd+Shift+5 lands in iCloud’s Screenshots/. Your Desktop stays clean.
Step 2 — build the “organize on add” Shortcut
Open Shortcuts on your Mac, create a new Shortcut, name it Organize Screenshot. Add these actions in order:
1. Receive: File (this is what the automation passes in)
Input from: Quick Actions, Files
2. Get Details of File
Get: Creation Date
3. Format Date → "yyyy-MM"
Output: e.g. "2026-04"
4. Format Date (second time, on the same Creation Date)
Format: "yyyy-MM-dd_HHmmss"
Output: e.g. "2026-04-29_182343"
5. Text:
"screenshot_Test it manually first: drag a screenshot file onto the Shortcut in the Shortcuts editor. It should rename, route into a Archive/2026-04/ subfolder, and disappear from the watch folder. If it works once manually, it’ll work on the automation trigger.
Step 3 — the run-on-folder-change automation
This is the bit most people miss. macOS Shortcuts has personal automations triggered by “a file is added to a folder.” Open Shortcuts → Automation tab (sidebar) → + → pick Folder.
- Folder: the iCloud
Screenshots/from Step 1. - Trigger when: File Added.
- Run: Run the “Organize Screenshot” shortcut you built.
- Run immediately: ON (otherwise macOS prompts you each time, defeating the point).
Now: Cmd+Shift+4, drag a region, click. The screenshot saves into the watch folder, the automation fires within ~2 seconds, the file gets renamed and moved into Archive/2026-04/. The watch folder is empty again, ready for the next.
Step 4 — the optional “tag to upload” branch
Sometimes you want a screenshot to immediately become a public URL (for pasting into Slack / a GitHub issue). Add a branch to the Shortcut:
# Insert before the Move action:
9. Get Tag Names of File
10. If "Tag Names" contains "share":
a. Run AppleScript / shell script that uploads to your S3 bucket / Cloudinary / 0x0.st
b. Get the returned URL
c. Set clipboard to URL
d. Show Notification "URL copied: "
e. Remove "share" tag (so it doesn't re-upload)
End If Now the workflow becomes: take screenshot, in Finder right-click → Tags → Share. Two seconds later, a notification: “URL copied” — paste anywhere. The image lives on your S3 / Cloudinary / 0x0 with a public link.
The catches
- iCloud sync delay. If you take a screenshot on Mac and open the Files app on iPhone immediately, you might see the unrenamed version for ~10 seconds before iCloud propagates the rename. This is iCloud being iCloud, not the automation.
- The trigger fires on every file. If you save a non-screenshot to that folder, the Shortcut still runs. Add a guard at the top: If “File Name” starts with “Screenshot ” OR ends with “.png”; otherwise stop. Otherwise weird files might get renamed surprisingly.
- Shortcut errors are silent by default. Add a final If Result Is Nothing → Show Notification “Screenshot organize FAILED” branch so you’d notice if the automation breaks.
- The automation runs on Mac only. If you take a screenshot on iPad and it auto-syncs to
iCloud/Screenshots/, the Mac sees it via iCloud and runs the automation. So your iPad screenshots also get organized for free.
Cleaning up the existing 437
The same Shortcut works in batch. Move all the existing screenshots from your Desktop into iCloud/Screenshots/. The folder-change automation will fire 437 times, one per file, and ~5 minutes later they’re all renamed and archived by month. The Desktop is empty for the first time in years.
One Shortcut, one Personal Automation, ~30 minutes of setup. After that, screenshots organize themselves — and a year from now, you can find ~/iCloud/Screenshots/Archive/2025-* -mtime -90 to find anything from last quarter, in Spotlight or in the Finder.
Photo: MacBook Air with system settings open by abdullah-bin-mubarak on Pexels.
