Last active
April 2, 2018 23:35
-
-
Save omiq/69f7b9a2f3c90a82673723ff2f44ac3e to your computer and use it in GitHub Desktop.
Very simple BASH webcam script
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 | |
while [ 1 ]; | |
do | |
raspistill -o cam.jpg | |
scp cam.jpg chrisg@example.com:apache/html/cam | |
sleep 5s | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment