Created
April 15, 2014 02:51
-
-
Save fmpwizard/10698067 to your computer and use it in GitHub Desktop.
Taking Time lapse pictures using the raspberry pi camera and sending the images to a local server/laptop
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 | |
let X=1; | |
while true; do | |
ssh -p 2200 pi@fmpwizard.no-ip.org raspistill -rot 90 -w 1024 -h 768 -o $X.jpg && | |
scp -oPORT=2200 pi@fmpwizard.no-ip.org:$X.jpg . ; | |
ssh -p 2200 pi@fmpwizard.no-ip.org rm $X.jpg | |
X=$((X+1)); | |
sleep 1; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment