Created
November 7, 2014 21:25
-
-
Save cdl/9617ffe055f494653799 to your computer and use it in GitHub Desktop.
Instructions on converting a folder of FLAC files to ALAC M4A.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install ffmpeg via homebrew - visit brew.sh if you don't have Homebrew | |
brew install ffmpeg | |
# cd to directory of FLAC files | |
cd /path/to/flacs/ | |
# run the magic one-liner | |
for i in *.flac; do ffmpeg -i "$i" -acodec alac "`basename "$i" .flac`.m4a"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment