[linux-audio-user] lame and filenames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I need to encode some WAV files into MP3. I'm planning to use Lame. 

Lame does not seem to accept wildcards, so I wrote a script-line:

for a in *.wav; do lame --preset cbr 256 $a ; done

But, this encodes *.wav into *.wav.mp3 . How do I make it drop the "wav"
from the name?

(If I need to do it by more elaborate scripting, please do tell me how;
I'm somewhat unfamiliar with bash scripting as yet)

Yours, Mikhail Ramendik



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux