View Single Post
Posts: 191 | Thanked: 415 times | Joined on Jan 2012
#7
Originally Posted by qwazix View Post
@caveman, there is a --path parameter to choose the directory I just forgot to document it. It does not specify filename though. I can do that but I won't implement a mechanism to auto-increment. You'll have to do that in your script.
The --path param is fine, it solves the problem.

I just ran my first test:
Code:
for i in $(seq 1 10); do
  time /opt/cmdCam/bin/cmdCam --exposure 30000
done
It just worked :-) Each pic takes about 4-5s. So to take 10 pics 1 min apart from each other, one could just use
Code:
for i in $(seq 1 10); do
  /opt/cmdCam/bin/cmdCam
 sleep 56
done
Cool!
 

The Following 3 Users Say Thank You to caveman For This Useful Post: