*.m4a を *.mp3 に一括変換する方法

$ for x in *.m4a;  do faad -o tmp.wav "$x" ; lame -b 192k -h tmp.wav  "${x/.m4a/.mp3}"; done