Created
October 21, 2014 23:12
-
-
Save kernelsmith/28ce5c0229287c7cd57f to your computer and use it in GitHub Desktop.
screen capture current terminal window on osx, command-line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| screencapture -l$(osascript -e 'tell app "iTerm" to id of window 1') sc_test.png |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if using straight Terminal, then replace "iTerm" with "Terminal"