Subject: Re: [linux-audio-user] Re-encoding Stereo mp3's into Mono mp3's
From: Frank Barknecht (fbar_AT_footils.org)
Date: Mon Dec 09 2002 - 02:16:55 EET
Hi,
Steven P. Ulrick hat gesagt: // Steven P. Ulrick wrote:
> But I have an additional question: how can I type that command so that
> it will re-encode all the mp3's in the folder?
Use a loop in your shell. Assuming bash it is:
$ help for
for: for NAME [in WORDS ... ;] do COMMANDS; done
[...]
$ for i in *.mp3; do lame $i $i-mono.mp3 ; done
or for nicer filenames use basename:
$ for i in *.mp3;
do
filename = $(basename $i .mp3)
lame $i $filename-mono.mp3
done
ciao
-- Frank Barknecht _ ______footils.org__
This archive was generated by hypermail 2b28 : Mon Dec 09 2002 - 02:15:47 EET