OT: bash help
Mike Wright
mike.wright at mailinator.com
Sun Jul 7 18:29:05 UTC 2013
Hi all,
I'm trying to write a bash command to transcode some videos into audios
but am having trouble with filenames that contain spaces.
ls *flv
returns this:
Jorge Drexler - Al otro Lado del Río.flv
But in a bash for loop it doesn't work.
for f in `ls *flv`; do echo $f; done
returns this:
Jorge
Drexler
-
Al
otro
Lado
del
Río.flv
Anybody know how to keep $f intact?
Thanks experts,
Mike Wright
More information about the users
mailing list