Obvious Ideas

From the desk of a Software Developer

Archive for the ‘folder’ tag

Mac OS/X Tip: How To Change Screen Capture Location

View Comments

I really like the built in screen capture ability of OS/X. I specially like the ability to easily take a screen capture of only part of the screen by using Cmd+Shift+4. What I didn’t like was the fact that it created a hell of a clutter on my desktop with all that screenshots.

Cluttered Desktop

Cluttered Desktop

For long time I’ve been just manually moving the screenshots to different folders / deleting them. But today I decided that enough is enough and looked for a solution. And of course a simple solution exists. To save you the reading here’s a summary of what you need to do:
1. Open the Terminal.
2. Create a new folder for the screenshots by using mkdir, i.e.

mkdir /Users/Arik/Desktop/Screenshots

3. Run the following command:

defaults write com.apple.screencapture location [the-folder-you-created-in-step-2]

That’s it. Almost. Now you need to logout and login again in order for the changes to take effect. Instead you can use the following command (from Terminal):

killall -HUP SystemUIServer

Now you really done.

Hope it helps.
Arik

Written by Arik

May 2nd, 2009 at 12:03 am