Skip to content

Instantly share code, notes, and snippets.

@metalrufflez
Created December 9, 2011 11:55
Show Gist options
  • Save metalrufflez/1451256 to your computer and use it in GitHub Desktop.
Save metalrufflez/1451256 to your computer and use it in GitHub Desktop.
Takes a screenshot and a photo with isight
#!/bin/bash
PHOTODIR="~/Pictures/AutoPhotos"
/usr/sbin/screencapture -x -t jpg $PHOTODIR/$(date +%Y%m%d-%H%M)s.jpg
# The isightcapture does not comes with OSX, so you'll have to download it somewhere
# The developer took down it's site and I couldn't find it anywhere
/usr/local/bin/isightcapture $PHOTODIR/$(date +%Y%m%d-%H%M)p.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment