[linux-audio-user] Re-encoding Stereo mp3's into Mono mp3's

Guy Clotilde guy.clotilde at wanadoo.fr
Sun Dec 8 23:45:01 EST 2002


On/le Mon, 9 Dec 2002 01:16:55 +0100
Frank Barknecht <fbar at footils.org> wrote / a écrit quelque chose
comme:

> $ 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

Man, the beautiful simplicity  of the command line!
I think I will put it in an executable .sh file with some gdialog tricks, give it a pretty icon and launch it while browsing a directory with rox! Voila! 
Long life Unix!
I have one regret, I never really learned to use bash. But it's never too late :)

Cheers all.

Guy CLO~
-----------------------------------------------
http://perso.wanadoo.fr/guy.clotilde/index.html
-----------------------------------------------



More information about the Linux-audio-user mailing list