Screen Shots / screencapture from Terminal in Mac OS X

PHOTO EMBED

Mon Jun 07 2021 07:00:32 GMT+0000 (UTC)

Saved by @hisam #iterm #terminal #commandline #osx

//screenshot entire screen, named ‘test.jpg’ in current working Terminal directory
screencapture test.jpg

// change path
screencapture ~/Desktop/screenshot.jpg

// copy to clipboard
screencapture -c

// specify file type
screencapture -t tiff sample.tiff
content_copyCOPY

Some simple commands for taking screen caps in iTerm / terminal

https://osxdaily.com/2011/08/11/take-screen-shots-terminal-mac-os-x/