timed screen grabs (with mouse pointer) on OS X

The following shell script will, after a five second delay, save a screenshot every second for the next minute:
sleep 5
for f in $(jot 60)
 screencapture -wC $(date +%Y%m%d%H%M%).png
 sleep 1
 echo $f

Leave a comment

Your email address will not be published. Required fields are marked *