Created
December 9, 2011 11:55
-
-
Save metalrufflez/1451256 to your computer and use it in GitHub Desktop.
Takes a screenshot and a photo with isight
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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