06 October 2009
Change your screen capture save location - Mac OS X
I use the mac os x screen capture tool a bunch—sometimes when building web pages or when I see amusing content on the web, like an Evony ad. If you don’t know what screen capture is, cmd+shift+4 will trigger it and then just click and drag a box to take a screen shot. Additionally, hitting spacebar will let you capture entire windows and holding down ctrl (when you release your mouse click) will save your image to the clipboard instead of the file system.
By default all screen captures get saved to your desktop. Unless you’re really tidy, this gets messy fast, so do the following:
- Open up the terminal (if you don’t know what I’m talking about, search for it using spotlight cmd+space)
- Enter this code, the first line makes sure the path exists and the second line sets it as the new screen capture location:
mkdir -p ~/Pictures/Captures
defaults write com.apple.screencapture location ~/Pictures/Captures
- Log out and in again (or just restart)
That’s it, enjoy!
By the way, some people may claim that you need to use an absolute path when writing to defaults, however this worked fine for me with the relative path. It seemed to just get stored as an absolute path after I looked at:
defaults write com.apple.screencapture location I’m not sure though, what would happen with two accounts running on a mac, maybe the user who didn’t set the location will still get captures sent to the desktop?