Created
February 15, 2012 04:43
-
-
Save and1truong/1833276 to your computer and use it in GitHub Desktop.
Screencapture command
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
| loginwindowpid=`ps auwwx | grep loginwindow |grep -v grep | cut -c12-20`; | |
| screencapture ~/Downloads/screenshot-`date '+%Y-%m-%d-%H-%M'`.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment