<br><div><span class="gmail_quote">On 5/7/06, <b class="gmail_sendername">Dave Mitchell</b> <<a href="mailto:davem@iabyn.com">davem@iabyn.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, May 07, 2006 at 04:09:41PM -0700, Filippos Klironomos wrote:<br>> Hello list,<br>><br>> I'm trying to parse a list of videos I have to convert them to a different<br>> format. The video names<br>> have spaces in them so I do something like:
<br>><br>> for file in *.flv ; do ffmpeg -i \"${file}\" \"${file}.avi\" ; done<br>><br>> but the quotmarks do not work and ffmpeg is not fed the whole video name but<br>> only the<br>> part up to the first space so it fails.
<br><br>Don't escape the quotes. ie you just need<br><br>    for file in *.flv ; do ffmpeg -i "$file" "$file.avi" ; done</blockquote><div><br><br><br>Same problem! <br>That's why I added the quotes to begin with but somehow BASH keeps ignoring them :-(
<br><br>Filippos<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br>My get-up-and-go just got up and went.<br><br>--<br>
fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list
</a><br></blockquote></div><br>