Bash trick of the day
Eric C
eric at newmag.org
Mon Apr 2 10:23:58 EDT 2007
"No. Why would you expect it to exit in 120 seconds?
-dsr-"
Because
WAIT_SECONDS=$(($WAIT_MINUTES * 60))
"Can you show me the exact line you typed in?"
- David
I just saved your script as davidKramer.sh and changed
to variables in the top.
cat /dev/video0 > /tmp/test_capture.mpg=$1
2=$2
In terminal I merely typed the path to davidKramer.sh
and it starts recording but no other messages.
- Eric C. the one who needs to get off his ass and
read about shell scripting.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Discuss
mailing list