How to Take ScreenShot On Mac Using Terminal

The terminal allows to capture screenshots after a specific time interval and you can also save a screenshot in some other file formats like JPG, TIFF, etc otherwise by default Mac saves screenshots in PNG format.

Follow the method written below to take a screenshot on Mac by using a command on the terminal.

How to Take Screen Shot Via Terminal On Mac

Click on Finder

Go to Applications > Utilities and then launch Terminal

Type following command in Terminal

screencapture -T 6 ~/Desktop/screenshot.jpg

where: T 6  = time interval in seconds, Desktop = location to save screenshot and screenshot.jpg = filename with extension

By default time interval is set to 5 seconds

To know further details about screencapture command type the following command in the terminal and hit Enter

screencapture --help

6 comments… add one
Julia January 5, 2010, 5:30 am

It works great on mac i try that after reading your article

Mathew January 5, 2010, 11:37 am

This is quite easy to take screenshot through command line on mac

Leave a Comment

Join Our Subscribers

Receive the latest how-to guides, news, and updates from our team.

You have Successfully Subscribed!