Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Change the default location for screenshots System
To change the default location for screen captures so they get saved in a specific location instead of cluttering the desktop, you need to use the defaults command in the Terminal to change the path. It can be done like this:
  1. Create the folder in which you want the screen captures to be saved in the location of your choice.

  2. Open a Terminal window and type this:
    defaults write com.apple.screencapture location /Full/Path/To/Folder
  3. Log out and log back in, and the change will have taken effect.
Note: You have to put in the path properly. Using ~ to indicate your home folder will not work. The path must be entered starting from the root of the hard drive. For example, if you wanted to save them to a secondary partition, your path would start with /Volumes/SecondPartition/.

[robg adds: This hint originated in this thread on the forums. It's been mentioned here before, almost in passing in this hint, but I felt it was worth calling out as a standalone hint.]
    •    
  • Currently 4.00 / 5
  You rated: 2 / 5 (9 votes cast)
 
[100,455 views]  

Change the default location for screenshots | 12 comments | Create New Account
Click here to return to the 'Change the default location for screenshots' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the default location for screenshots
Authored by: macgruder on Aug 24, '05 01:01:16PM

You may want to try it like this to make sure:

mkdir /Full/Path/To/Folder
defaults write com.apple.screencapture location !$

Even if the folder already exists it will work.



[ Reply to This | # ]
Change the default location for screenshots
Authored by: macgruder on Aug 24, '05 01:02:49PM

or better
mkdir -p /Path/



[ Reply to This | # ]
Change the default location for screenshots
Authored by: donquichote on Aug 24, '05 01:53:08PM

I can change the location-string in the plist. But no matter which folder I choose, when I save my screenshots, a Popup-window opens, I have to enter the name of the file and to choose the location. And the default location is always "desktop".



[ Reply to This | # ]
Change the default location for screenshots
Authored by: dirkstoop on Aug 24, '05 03:53:49PM

This hint applies to using the command shift 3 and 4 keyboard shortcuts for making screenshots. Not for using the 'Grab' application.



[ Reply to This | # ]
Change the default location for screenshots
Authored by: silicontrip on Aug 25, '05 01:23:52AM
I like to use the command line 'screencapture' program.

usage: screencapture [-icmwsWx] [file]
  -i      capture screen interactively, by selection or window
            control key - causes screen shot to go to clipboard
            space key   - toggle between mouse selection and
                          window selection modes
            escape key  - cancels interactive screen shot
  -c      force screen capture to go to the clipboard
  -m      only capture the main monitor, undefined if -i is set
  -w      only allow window selection mode
  -s      only allow mouse selection mode
  -W      start interaction in window selection mode
  -x      do not play sounds
  -S      in window capture mode, capture the screen not the window
  file    where to save the screen capture


[ Reply to This | # ]
Change the default location for screenshots
Authored by: dave1212 on Aug 25, '05 02:43:51AM

Working well, I have a folder called 'Shots' on the desktop that it's saving to.

However, it now seems to actually write the file a lot slower. For example, if I took 3 successful screenshots without this hint, it made pic 1, 2, and 3 on the desktop.

Now it names all the temp files pic 1 and only produces one file in the destination folder. If I didn't look at the folder to witness this I would assume it's eating my screenshots.

If I wait an extra few seconds between screenshots, there's no problem.

Why is that, do you think?

---
______
http://www.macskill.com/



[ Reply to This | # ]
Change the default location for screenshots
Authored by: sashka on Aug 25, '05 01:35:34PM

Strange. Just pressed screeshot keys 20 times and got 20 pdfs in folder I choosed. No problems. But system was unusable for 20-30 seconds. Well, CPU usage was 100% at that time.



[ Reply to This | # ]
Change the default location for screenshots
Authored by: Tobys Friend on Aug 25, '05 07:34:23PM

When you control click on an image in Safari you get a menu were you can save the image to the desktop as one of the options. My question is this,
can I use something like this hint to change the default location to say a
folder somewhere else. Rather than mix them up with my pictures in Iphoto.



[ Reply to This | # ]
Change the default location for screenshots
Authored by: Spartacus on Nov 14, '05 05:12:05AM

I think it defaults to your Downloads folder, set in Safari's preferences. If you hold Option, it changes to Save Image As…



[ Reply to This | # ]
Change the default location for screenshots
Authored by: guardian34 on Sep 04, '05 09:43:39PM

For those that don't like the command line, I made an AppleScript app. You can get it from ScriptBuilders.net.



[ Reply to This | # ]
Change the default location for screenshots
Authored by: AriX on Jun 11, '10 09:43:48PM

If you're too lazy to log out and log back in, issue a "killall SystemUIServer", since SystemUIServer seems to handle the screenshot service.



[ Reply to This | # ]
Change the default location for screenshots
Authored by: ianspiers on Jan 19, '12 07:53:20AM

I don't spend time in Terminal, so please forgive my ignorance.

How would I change the default location for my screenshots to a different drive?



[ Reply to This | # ]