macOs by default save screenshots in the Desktop. For users who are into content writing, saving screenshots in the Desktop folder is not the ideal way. The more you add screenshots your Desktop view gets ugly with time. This short tutorial will show users how to change or update Screenshots directory on macOS.

macos change screenshots directory

First decide the directory where screenshots should be saved in your computer. In this guide I’ll change my macOS screenshots directory to ~/Pictures/mac/screenshots.

Let’s create this directory.

mkdir -p ~/Pictures/mac/screenshots

Once you’ve created the desired directory, run the commands below to update screenshots directory in your macOS.

defaults write location -string  /path/to/screenshots/directory

In my case I’ll run the commands below.

defaults write location -string ~/Pictures/mac/screenshots

Confirm your settings.

$ defaults read
    "last-analytics-stamp" = "615817431.071682";
    location = "/Users/jkmutai/Pictures/mac/screenshots";

Optionally set finder to show file extensions which also affect images.

defaults write NSGlobalDomain AppleShowAllExtensions -bool true

We can test our settings by taking a new screenshot. The keyboard shortcuts for taking screenshots on macOS are:

Shift+Command+3Take a screenshot. If you see a thumbnail in the corner of your screen, click it to edit the screenshot. Or wait for the screenshot to save to your desktop
Shift+Command+4Capture a portion of the screen by manually selecting.
Shift+Command+4+ SpaceCapture a window or menu. Click the window or menu to capture it.

Check to confirm the new screenshot is saved in the directory we just created.

$ tree ~/Pictures/mac/screenshots
├── Screenshot\ 2020-07-09\ at\ 00.51.52.png
├── Screenshot\ 2020-07-09\ at\ 00.51.54.png
├── Screenshot\ 2020-07-09\ at\ 00.51.56.png
└── Screenshot\ 2020-07-09\ at\ 00.52.03.png

0 directories, 4 files

There you have it. You can update the directory by following the same steps.

More on macOS.

10 Must Know macOS Keyboard Shortcuts

How To Install CloudFlare CFSSL on macOS

How To Disable Homebrew Auto update on macOS

Install Bashtop – Terminal Resource Monitor for macOS

Your support is our everlasting motivation,
that cup of coffee is what keeps us going!

As we continue to grow, we would wish to reach and impact more people who visit and take advantage of the guides we have on our blog. This is a big task for us and we are so far extremely grateful for the kind people who have shown amazing support for our work over the time we have been online.

Thank You for your support as we work to give you the best of guides and articles. Click below to buy us a coffee.


Please enter your comment!
Please enter your name here