sg

Salı, Aralık 20, 2005

[lug] Re: lame?


I think what they meant was that they wanted a script that would
automatically convert wav files to mp3s using lame. Lame only does
one song at a time, so a script would be the easiest way to do it.
I'm not the sharpest when it comes to scripting, but I believe one
would just need a foreach loop.

On 12/20/05, Adam Visegradi <a.visegradi@gmail.com> wrote:
> What's the problem with wildcards?
> u@h$ wav_to_mp3_converter_program folder/*.wav
> bash will do the rest for you...
>
> If you mean `how to convert all _recursively_?' use "for" and "find":
> for i in `find /path/of/folder -name *.wav`; do convert $i
> -outputfolder=`dirname $i`; done
>
> One line :)
>
> Can anybody tell me why does `for' appear in all my replies? :D
>
> Nice day!
>
> On 12/20/05, L1mit30 <sammojohn@gmail.com> wrote:
> >
> > Hello guys,
> >
> > I have this folders full with .wav files and i dont know how to convert
> > the whole folder into .mp3.
> >
> > I now make a script and make it an executable file and then run it.
> > The problem is that it is too lazy and very boring to sit down and type
> > the whole script.
> > Have you got any suggetions?? Or any program like lame that will do??
> >
> >
> > sam
> >
> >
>
>
> --
> Visegradi Adam
>

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık