Skip to content

Instantly share code, notes, and snippets.

@dnlcrl
Last active January 3, 2016 12:40
Show Gist options
  • Save dnlcrl/18e92366e15c3d4c3499 to your computer and use it in GitHub Desktop.
Save dnlcrl/18e92366e15c3d4c3499 to your computer and use it in GitHub Desktop.
Take a screenshot every 2 secs
#! /bin/sh
i=1;while [ 1 ];do screencapture -t jpg -x $i.jpg; let i++;sleep 2; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment