How to move files out of Downloads automatically on a Mac
Move files from Downloads to the right folder: by hand in seconds, then automatically with a free Folder Action script that files each download by type.
To move one file: open Downloads (⌥⌘L in Finder), select it, press ⌘C, open the destination and press ⌥⌘V. The Option key turns paste into move. To have it happen on its own, attach a Folder Action to Downloads: a small script that runs every time a file lands there. The free one below files each download into a folder named after its type, and overwrites nothing.
1. Move by hand, quickly
- Drag to the sidebar. Drag files onto a folder in the Finder sidebar. Hold ⌘ while dragging to another disk if you want a move rather than a copy.
- Cut and paste. ⌘C, then ⌥⌘V in the destination.
- Several at once. Sort Downloads by Kind in list view (⌘2), ⇧-click a range, then Control-click and choose New Folder with Selection (more selection tricks).
Done once a week, sorted by Date Added, this keeps Downloads short. The trouble is the “once a week”.
2. Move automatically with a Folder Action (free script)
The script: sort-by-type.sh. For each file it receives, it creates a folder next to it named Images, Documents, Archives, Installers, Videos, Audio or Other, and moves the file in. If a file with that name already exists there, the new one gets 2, 3… added. It skips hidden files, folders, and the temporary files browsers write while downloading.
Set it up once:
- Download the script, create a folder
Scriptsin Documents and move the script into it. - Open Automator (in Applications), choose New Document, then Folder Action.
- At the top, next to “Folder Action receives files and folders added to”, choose Other… and pick Downloads.
- In the actions library, search for Run Shell Script and drag it to the right.
- Set Pass input to as arguments, delete the sample text, and paste:
/bin/bash "$HOME/Documents/Scripts/sort-by-type.sh" "$@"
- Save it as
Sort Downloads by type.
Download any file to test. macOS may ask whether the workflow can access the Downloads folder; allow it. To turn it off later, Control-click Downloads in Finder, choose Quick Actions (or Services, depending on the version) > Folder Actions Setup, and untick it.
Want different folders? The script is plain text: open it in TextEdit and change the lists of extensions next to each folder name. To run it by hand on everything already in Downloads, type in Terminal:
bash ~/Documents/Scripts/sort-by-type.sh ~/Downloads/*
A simpler alternative for one kind of file (every PDF to a folder) is a Shortcuts automation on the Downloads folder; the steps are in how to organize files on a Mac.
Where the free method stops
- No undo. The script moves files one by one; putting 300 of them back is manual.
- Extensions only. A
.zipis an archive whether it holds photos or a contract. - Edge cases are yours. A browser that renames its download at the end may not trigger the action; a file you were about to open moves away. Test it for a week before trusting it.
- One folder. Each folder you want sorted needs its own Folder Action.
The one-click version
DeclutrDeclutr sorts Downloads, the Desktop or any folder into category folders by type, in one click, with one Undo for the whole sort. That part is free. Pro, a one-time $8.99 purchase in the US, adds what the script does, without the script: watched folders sorted as files arrive, scheduled cleanups, and rules by name, extension, age or size.
It doesn’t read file contents, doesn’t delete anything, and needs macOS 13 Ventura or later.
Once files are out of Downloads, they need somewhere to go: free folder structure templates.
Questions people ask
How do I move a file from Downloads to another folder on a Mac?
Open Downloads with Option-Command-L, select the file, press Command-C, open the destination folder and press Option-Command-V. The file moves instead of being copied. Dragging it onto a folder in the sidebar works too.
Can a Mac move downloads to a folder automatically?
Yes, with a Folder Action: a small workflow attached to Downloads that runs each time a file is added. The free script on this page files each new download into a folder named after its type.
Can I change where downloads are saved instead?
Yes, in each browser: Safari > Settings > General > File download location, or Chrome > Settings > Downloads. That changes one destination for everything, it doesn't sort by type.
Will a Folder Action move files while they are still downloading?
The script on this page skips the temporary files browsers write while downloading (.download, .crdownload, .part). If a finished file stays in Downloads, run the script by hand on the folder.