On Tue, 2005-11-22 at 21:25 -0500, hawat.thufir@xxxxxxxxx wrote: > I can't find an example to work from, so I'll just ask. > > In a directory I have some .wav files which I'd like to en-masse turn into > mp3's. > > $ls > one.wav two.wav three.wav > > $lame one.wav one.mp3 > ... > > > I know it's something like: > > $ls $a | lame $a.mp3 ls |while read file; do mp3="`echo $file |sed s?"\.wav$"?"\.mp3"? lame --preset standard '$file' '$mp3' done (not actually tried)