Skip to content

Instantly share code, notes, and snippets.

@marksteve
Created February 17, 2016 07:36
Show Gist options
  • Select an option

  • Save marksteve/b86d9e5e37ee9ae610ac to your computer and use it in GitHub Desktop.

Select an option

Save marksteve/b86d9e5e37ee9ae610ac to your computer and use it in GitHub Desktop.
#!/bin/bash
i=0
while true; do
screencapture -C -x -T $1 ss-$(printf "%04d" $i).png
((i++))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment