Correct Syntax to change default Screenshots and Screencapture save location? I would like to change the default screenshot location for OS X Yosemite 10.10.3 using Terminal. But this command is not working, where subfoldername = "name of my sub-folder" I want to store my screenshots in.

author$ defaults write com.apple.screencapture location -string “$HOME/Desktop/subfoldername"
You need 2 lines

defaults write com.apple.screencapture location ~/Pictures/


and the 

killall SystemUIServer