Convert flac to m4a

Since iTunes doesn’t support flac (Apple is just as proprietary as Micro$oft), I needed to convert a large number of flac files to m4a.

1) Download and setup ffmpeg . I dropped the 3 files in /usr/local/bin
2)

for i in `find . -type f -name "*.flac"`; do echo $i; ffmpeg -i "$i" -acodec alac "$i.m4a"; done;

3) Drop the files in your iTunes directory under iTunes/Automatically\ Add\ to\ iTunes.localized/