Quickly Change OS X's Default Screenshot Format and LocationMac

Quickly Change OS X's Default Screenshot Format and Location

Adam Dachis , Gawker Media

Quickly Change OS X's Default Screenshot Format and Location

Ever wish OS X's screenshots ended up somewhere other than your desktop? A one-line terminal command can change all that, allowing you to store them anywhere you like.

Just enter the following command (with the location set to where you want it:

defaults write com.apple.screencapture location ~/Screenshots

I put ~/Screenshots, which saves screenshots to a folder called (you guessed it!) "Screenshots" in my home directory. You can specify any directory you like. In fact, if you have a folder in mind and accessible in the Finder you can just drag it onto the Terminal window to automatically enter the path for you. This can save a bit of typing.

While we're at it, why not change the file type as well? OS X's screenshots naturally save in PNG format but you can change that to pretty much anything your Mac can natively handle (i.e. the formats available for export in Preview). All you have to do is enter this command:

defaults write com.apple.screencapture type jpg

I used "jpg" as the example format, but you just need to swap in a different extension (e.g. pdf, tiff) if you like. When you're done with either or both commands, enter the following to reload your new settings:

killall SystemUIServer

That's it! Now you can enjoy your screenshots however and wherever you like.

Terminal 101: Changing the Screenshot Capture Location | MacLife

Contribute to LifeHacker

Write for Us

Comments ()

X
Sort By:
Be the first one to review.

Suggested for you

  • Nokia 3310 is Back, Here is Everything You Need to Know

    Nokia 3310 is Back, Here is Everything You Need to Know
  • Google Assistant Is Coming to All Nougat and Marshmallow Phones Soon

    Google Assistant Is Coming to All Nougat and Marshmallow Phones Soon
  • The Best Calendar App for Mac

    The Best Calendar App for Mac
  • Truecaller joins Facebook, Google in 100 mn impressions club

    Truecaller joins Facebook, Google in 100 mn impressions club
  • Remains of the Day: Google Assistant Comes to More Android Phones

    Remains of the Day: Google Assistant Comes to More Android Phones
  • Paytm Launches Online Marketplace App 'Paytm Mall'

    Paytm Launches Online Marketplace App 'Paytm Mall'
  • Test Out Firefox's New Tab Snoozing Feature With Its Test Pilot Extension

    Test Out Firefox's New Tab Snoozing Feature With Its Test Pilot Extension
  • Google's One Tap Two-Factor Authentication Will Show Info On Who's Logging In

    Google's One Tap Two-Factor Authentication Will Show Info On Who's Logging In
  • iOS 10.2.1 Is Reducing Those Pesky Random Shutdowns for iPhone 6 and 6s Owners

    iOS 10.2.1 Is Reducing Those Pesky Random Shutdowns for iPhone 6 and 6s Owners
  • Mozilla Buys Bookmarking Service Pocket

    Mozilla Buys Bookmarking Service Pocket
  • You Can Now Use Google to Search Your Drive Files On Android

    You Can Now Use Google to Search Your Drive Files On Android

Editor's Pick

  • A Genius Life Hack to Fetch Your Shirt From Neighbour's Overhang

    A Genius Life Hack to Fetch Your Shirt From Neighbour's Overhang
  • How to Create Amazing Bokeh-Effect Photos With a DSLR

    How to Create Amazing Bokeh-Effect Photos With a DSLR
  • To Fix Dried Nail Paint, Add Few Drops of Acetone to The Bottle

    To Fix Dried Nail Paint, Add Few Drops of Acetone to The Bottle

Subscribe to latest stories

Trending on social



Subscribe for latest stories