Follow me as I struggle with rogue technology, insane programmers, and impossible math questions in a battle to the death.

Tuesday, April 07, 2009

Convert all wav files in directory to mp3 in bash

for file in *.wav;
do
lame -h -m s -b 320 "${file}" "${file%.wav}.mp3";
done

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home