Welcome to
LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us. If you need to reset your password,
click here.
I wrote a simple bash script to grab the images and save them with the time and date:
#!/bin/bash if [ \! -d $HOME/logs/webcams/soton/ ]; then mkdir $HOME/logs/webcams/soton/ fi cd $HOME/logs/webcams/soton/ while true; do DATE=$(date "+%y-%m-%d-%H-%M-%s") wget --timeout=15 --quiet -nd -np \ http://www.southampton.gov.uk/webcamimages/largesize.jpg && \ mv largesize.jpg soton_high_street_${DATE}.jpg sleep 900; # be polite and use reasonable time values ;) doneI found a program called grabby that would take a single image from a webcam and then store it in a particular folder, but I only managed to get it to compile on Slackware after I contacted the author and he provided me with a few patches. Even then, after it successfully compiled, it wouldn't get the images from my webcam, so I gave up.