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
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