Last active
June 14, 2016 04:35
-
-
Save prabowomurti/a039a1705618a695e908d9e80c0890f9 to your computer and use it in GitHub Desktop.
How to make a screen capture every x seconds on Mac OSX
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
while [ 1 ]; | |
do vardate=$(date +%d\-%m\-%Y\_%H.%M.%S); | |
screencapture -t jpg -x ~/Desktop/screencapture/$vardate.jpg; | |
sleep 10; | |
done |
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
i=1; | |
while [ 1 ]; | |
do screencapture -t jpg -x ~/Desktop/screencapture/$i.jpg; | |
let i++; | |
sleep 6; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment