You can save this as encoder.sh, or whatever, cd into the directory you want to encode, and run it.
Here it is:
mkdir mp3
find . -name "*.wav" -o -name "*.aif" | while read FILE
do
echo $FILE
lame -b 320 -h $f "$FILE" mp3/"${FILE%.*}".mp3
done
mkdir mp3
find . -name "*.wav" -o -name "*.aif" | while read FILE
do
echo $FILE
lame -b 320 -h $f "$FILE" mp3/"${FILE%.*}".mp3
done
No comments:
Post a Comment