MacOS X – screen shoot location and file format

If you want to change screen shoot location and file format do as follows

defaults write com.apple.screencapture type image_format
defaults write com.apple.screencapture location /Users/user/your_preffered_directory

You have to log out and log in again if you want changes to take effect.

image_format: png, tiff, jpg, pdf