change default location screen mac code example
Example: change default location screen mac
defaults write com.apple.screencapture location <location>
killall SystemUIServer
defaults write com.apple.screencapture location <location>
killall SystemUIServer