Lame

From LinuxSwords Wiki

Jump to: navigation, search

How to convert WAV to MP3 with lame

I like to do that i a for loop:

for i in `ls *wav`
do
 lame -h ${i} ${i%wav}mp3
done

and in a oneliner:

for i in `ls *wav`; do lame -h ${i} ${i%wav}mp3; done

The part

${i%wav}mp3

is a replacement trick. It replaces wav with mp3

see also id3tool

Personal tools