A tutorial presented above we show how to change the screenshot image format from PNG (default format of macOS) in another format. PDF, GIF, JPG or TIFF. Everything is very simple, executing a specific command line in the Terminal to import the desired formats.
All screenshots se automatically saves on Desktop, and this can cause an agglomeration of this space where we usually have other files. Ideally it would be that all screenshots are saved automatically in a dedicated folder, leaving working space free for other files.
We can do this with help Port, where we run one commandline where we indicate the location (a folder) where the screenshots are saved.
How to change the Desktop location to another location where screenshots are saved on macOS
Before executing the command lines to change the destination location of screenshots, it is good to create this folder. Let's say that instead of Desktop, we want all screenshots to be saved in the "ScreenShots" folder, and it to be located in "Documents". Go to "Documents" and create the "ScreenShots" folder.
After this step we open the Terminal and execute the following command lines:
defaults write com.apple.screencapture location ~/Documents/ScreenShots
Applying changes is done through the command line:
killall SystemUIServer
Once the last command line has been judged, all the screenshots will automatically be saved in the folder we designate.
Let's go back to the initial settings or change the location, replace the first line of command “~/Documents/ScreenShots” with the new location.
defaults write com.apple.screencapture location ~ / Documents / Screenshots