[Fedora] pipe ls to lame syntax

Michael A. Peters mpeters at mac.com
Wed Nov 23 03:52:44 UTC 2005


On Tue, 2005-11-22 at 21:58 -0500, THUFIR HAWAT wrote:
> On 11/22/05, Ashley M. Kirchner <ashley at pcraft.com> wrote:
> ..
> >     # for file in *.wav ; do lame -h $file `basename $file
> > .wav`.mp3 ; done
> ..
> 
> Perfect, thanks Ashley, I'll use that next time :)

Word of caution - if the wav files have spaces in the name - that won't
work.

I never rip with spaces - but some ripping software will (or at least
can).




More information about the users mailing list