1
2
$ defaults write com.apple.screencapture location <path>
$ killall SystemUIServer