OS X Sceenshot Directory

Tired of a cluttered desktop? Yeah me too.

Execute the following command in your terminal and your screenshots will be stored out of the way in your Documents/Screenshots directory.

mkdir -p ~/Documents/Screenshots && defaults write com.apple.screencapture location ~/Documents/Screenshots && killall SystemUIServer  

Command Breakdown

Create the Screenshots directory if it doesn't exist.

mkdir -p ~/Documents/Screenshots  

Update the directory OS X will use to store screenshots

defaults write com.apple.screencapture location ~/Documents/Screenshots  

Restart the UI server to make the changes active

killall SystemUIServer