script question
jim
cinetron-uEvt2TsIf2EsA/PxXw9srA at public.gmane.org
Tue Jan 22 10:13:17 UTC 2008
Thanks Neil,
There are actually two program calls in the script that require a yes
answer. How would I handle that?
ie in the script below both ffmpeg commands want a yes answer.
#!/bin/bash
ffmpeg -i barb_movie.mov -pass 1 -target ntsc-dvd -aspect
16:9 barb_vid.mpg
ffmpeg -i barb_movie.mov -pass 2 -target ntsc-dvd -aspect
16:9 barb_vid.mpg
dvdauthor -o dvd/ -t barb_vid.mpg
dvdauthor -o dvd/ -T
mkisofs -dvd-video -o dvd.iso dvd/
Thanks,
Jim
On Mon, 2008-01-21 at 14:36 -0500, Neil Watson wrote:
> echo "yes" | myscript.sh
>
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list