IPB

Welcome Guest ( Log In | Register )

encode all wav files in one go
nastea
post Jul 30 2012, 00:50
Post #1





Group: Members
Posts: 46
Joined: 30-July 12
Member No.: 101867



Hi, I'm new here just to find the answer on one question I can't find anywhere else:
Is it possible with LAME to encode all the wave files in one folder to mp3 in one go? Using the command line.

Strange enough, when I give the command:

lame -V 0 *.wav

it stops after one file.
What am I doing wrong?

I hope somebody can help me out.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
db1989
post Jul 30 2012, 00:57
Post #2





Group: Super Moderator
Posts: 5275
Joined: 23-June 06
Member No.: 32180



LAME does not expand wildcards. So, make the Command Prompt do that:
CODE
for %f in (*.wav) do lame -V0 "%f"
Go to the top of the page
+Quote Post
nastea
post Jul 30 2012, 01:40
Post #3





Group: Members
Posts: 46
Joined: 30-July 12
Member No.: 101867



QUOTE (db1989 @ Jul 30 2012, 01:57) *
LAME does not expand wildcards. So, make the Command Prompt do that:
CODE
for %f in (*.wav) do lame -V0 "%f"


It works!
Thank you very much, this is exactly what I was looking for.
I know that there are also LAME front-end programs for windows but its just more fun seeing the encoding process in a black dos box.
Thanks again cool.gif
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th September 2014 - 05:03