Last active
May 2, 2022 01:47
-
-
Save ch0ppy35/3bc684fac3691b91af95a7197140a545 to your computer and use it in GitHub Desktop.
Use this to convert FLAC from BandCamp or wherever - Simple and Works
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
#/bin/bash | |
for i in *.flac; | |
do name=`echo "$i" | cut -d'.' -f1` | |
echo "Converting $name into an mp3!" | |
ffmpeg -i "$i" -ab 320k -map_metadata 0 -id3v2_version 3 "${name}.mp3" | |
done | |
echo "All done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment