hi, 
i have used the following to convert some homemade wavs into mp3s:
$ for file in `ls *.wav`;do lame -b 256 -q 0 $file `basename $file 
.wav`.mp3;done

it works fine except for file names with spaces, i can't work out how to 
rectify this, i have also tried:
$ for file in `ls *.wav`;do lame -b 256 -q 0 "$file" "`basename $file 
.wav`.mp3";done

and
$ for file in "`ls *.wav`";do lame -b 256 -q 0 "$file" "`basename $file 
.wav`".mp3;done

as you can see i've tried using "" around references to file names but this 
hasn't helped, could someone please help me out

tia

bascule

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to