Created
August 15, 2013 07:34
-
-
Save tatic0/6238942 to your computer and use it in GitHub Desktop.
simple bash script to do a time lapse with raspistill
This file contains hidden or 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 | |
echo "how long do you want to take pictures? (in seconds)" | |
read hlong | |
echo "at which interval (in seconds)" | |
read interval | |
echo "please provide a prefix to name the pictures" | |
read prefix | |
hlongms=$(($hlong*1000)) | |
intervalms=$(($interval*1000)) | |
raspistill -t $hlongms -tl $intervalms -o $prefix%d.jpg -v -mm average -n -awb off -ex sports |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment