create a directory of mp3 using lame
I have a directory full of .wav files that I want to convert
to mp3 using the command lame -h I can't figure out how to do it. Ok, so I'm not all that bright, but I know there must be a way. Does anyone know how to do this? This is in Slackware 12 and, sometimes, in Slackware 10. |
i suppose you could do something like
Code:
#lame /directory/to/music/*.wav /directory/to/mp3s/*.mp3 |
I'm not sure that will work for lame. I don't believe you can have multiple infiles/outfiles like that. (but I could be wrong)
A for loop will probably do it Code:
for wavfile in *.wav |
open your favorite text editor such as gedit or kate and copy the following into it
Code:
#!/bin/bash you then need to make the file executable by running Code:
chmod +x filename |
All times are GMT -5. The time now is 12:17 PM. |