Files can be converted to FLAC from ALAC via the command ffmpeg -i audio.m4a -acodec flac audio.flac. To do this for a while directory of files go to that directory (cd path) and issue the following:
for f in *.m4a; do ffmpeg -i "$f" "${f%.m4a}.flac"; done
Install ffmpeg:
Files can be converted to FLAC from ALAC via the command
ffmpeg -i audio.m4a -acodec flac audio.flac
. To do this for a while directory of files go to that directory (cd path
) and issue the following:(Optional)
For reference see https://superuser.com/a/329278/87552 and http://ubuntuforums.org/showthread.php?t=1500430.