i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
for i in *.mp4; do ffmpeg -i "$i" -q:a 0 -map a "$(basename "$i" .mp4)".mp3 ; done