Skip to content

Instantly share code, notes, and snippets.

@cyrildiagne
Created November 17, 2012 12:17
Show Gist options
  • Save cyrildiagne/4095478 to your computer and use it in GitHub Desktop.
Save cyrildiagne/4095478 to your computer and use it in GitHub Desktop.
OSX Shell script to take a snapshot of the screen every X seconds
while true ; do sleep 2 && echo `date`‘ Capturing screenshot…’ && screencapture -C -m -t jpg -x -f cap.`date +%s`.jpg ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment