Last active
March 3, 2022 16:54
-
-
Save FlxVctr/24ece427d3fd46974cfeed1f627141f9 to your computer and use it in GitHub Desktop.
Convert wma to flac with ffmpeg (tested on MacOS)
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 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