By default, all the screenshots you take on a Mac gets saved to the desktop. Something that can quickly make your desktop look messy and ugly. That is why we want to show you how to change this default screenshot save location on a Mac to a more friendly location.
To change the location where screenshots are saved on your Mac, you will first need to go to the desktop. Click on Command + N which will open a new Finder window.
In the Terminal, type defaults write com.apple.screencapture location and make sure you hit Space once after …read more
Read more here:: How do I change Screenshot Save Location on a Mac?