Skip to content

Instantly share code, notes, and snippets.

@FlxVctr
Last active March 3, 2022 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlxVctr/24ece427d3fd46974cfeed1f627141f9 to your computer and use it in GitHub Desktop.
Save FlxVctr/24ece427d3fd46974cfeed1f627141f9 to your computer and use it in GitHub Desktop.
Convert wma to flac with ffmpeg (tested on MacOS)
# install ffmpeg and cd into folder containing wma files
# will save all results to output/ in same folder
mkdir output
for file in *.wma
do
echo $file
filename=`basename "$file" .wma`.flac
ffmpeg -i "$file" -acodec flac output/"$filename"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment