If you are one of those users who takes a lot of screenshots either for teaching purposes or just for keeping records of whatever you did on your machine, you might eventually find your desktop cluttered with a number of screenshots scattered here and there. Unless you individually check out those screenshots and delete the ones you don’t need, your desktop will remain cluttered. The default location for saving your screenshot when using the screen capture shortcut key (Cmd + Shift + 3) is the Desktop. What if there was a way you could place your screenshots somewhere else on your Mac instead of the desktop?
Although your Mac comes configured to put all the screenshots on the desktop, you can modify the settings and have your screenshots placed somewhere else so that there will be less clutter on your desktop. However, you will need to dabble with the Terminal to get things done. Here’s how you can do that:
1. The first step is to decide where you want to save the screenshots. You can create a folder anywhere on your Mac for that purpose, and you can then use it to store the screenshots that you capture on your Mac.
In the example below, I have created a folder called “New Screenshots” in the “Documents” directory on my Mac. I will use it to store my screenshots.
2. Fire up Terminal on your Mac. To do that, click on Launchpad in your dock, search for and click on Terminal, and it will launch for you.
3. When Terminal launches, enter the following command. Hit space after “location,” and then drag and drop the screenshot folder you created earlier onto the Terminal window. It will put in the full path to the screenshot folder in the Terminal Window so that you don’t have to type it manually.
defaults write com.apple.screencapture location
When you have dropped in the screenshot folder, the full command will look like this:
defaults write com.apple.screencapture location /Users/Mahesh/Documents/Screenshots/New\ Screenshots
Hit Enter and let Terminal do its magic.
Once the above command has done its thing, enter the following command into Terminal and hit Enter. It will reset the UI on your machine so that it recognizes the changes you just made.
You are all set.
Now, try capturing a screenshot using “Cmd + Shift + 3,” and you should see that it’s being saved to the folder you chose above instead of your desktop. Your job is done.
Changing the Screenshot Save Folder Back to Desktop
If you ever wish to change the folder to back to the desktop, you can do so using the following steps.
Launch Terminal on your Mac.
Type in the following command and press Enter. Make sure to replace “Mahesh” with your own username on your Mac.
defaults write com.apple.screencapture location /Users/Mahesh/Desktop/
In order for your Mac to recognize the changes, simply issue the following command:
And you are all done.
The default save folder for your screenshots is your desktop now.
Assigning a particular space of your Mac for a specific file is a good idea to keep things organized. The above solution should help you change the screenshots folder so you can save them wherever you want instead of your desktop. That way they will be saved in the folder you want and you will have less clutter on your desktop.