Bash script for batch m4a to mp3 conversion

Short script for converting m4a music files to mp3 files.

Requires faad and lame libraries. Replaces extension and substitutes underscores for spaces.

#!/bin/bash

for a in *.m4a
do 
    b=${a%m4a}mp3
    faad -w "$a" | lame - "${b// /_}"
done
keywords: m4a, mp3, music, lame, faad, convert, tech created 2010-03-30 last modified 2010-09-13