Created
March 3, 2021 04:51
-
-
Save qpwo/6d2936455c36272066b60d81a397305c to your computer and use it in GitHub Desktop.
macos shell script to take screenshot and webcam photo every two minutes to track how you spend your computer time
This file contains 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 : | |
do screencapture ~/screenshots/$(date +%y%m%d%H%M%S)-screen.png; | |
imagesnap -w 1 ~/screenshots/$(date +%y%m%d%H%M%S)-cam.jpg; | |
sleep 120; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment