[linux-audio-user] lame and filenames
Mikhail Ramendik
mr at ramendik.ru
Sat Sep 11 21:06:14 EDT 2004
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
More information about the Linux-audio-user
mailing list