Skip to content

Instantly share code, notes, and snippets.

@djensenius
Created January 12, 2019 17:30
Show Gist options
  • Save djensenius/8de35b5a5b7cf8b43ce398277eee2f51 to your computer and use it in GitHub Desktop.
Save djensenius/8de35b5a5b7cf8b43ce398277eee2f51 to your computer and use it in GitHub Desktop.
Fish function to convert all FLAC files in a directory to ALAC (requires ffmpeg). πŸ”ŠπŸŽ›
function flac2alac
for f in *.flac
ffmpeg -i "$f" -map 0:0 -c:a:0 alac (basename $f .flac).m4a
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment