How to change the default screenshot directory on OSX

defaults write com.apple.screencapture location ~/Screenshots

You can also change the screenshot image format:

defaults write com.apple.screencapture type jpg

To load your changed settings:

killall SystemUIServer
Written on November 4, 2014