Created
June 29, 2016 16:36
-
-
Save Sam-R/e07818cacfbd465c4292a87f3e48baf0 to your computer and use it in GitHub Desktop.
Bash convert FLAC to MP3 using lame on Ubuntu 14.04/Mint 17
This file contains hidden or 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
# | |
# Original code copied from @ http://www.boback.com/2013/how-to-convert-flac-to-mp3-ubuntu-command-line/ | |
# | |
# Install lame and flac | |
sudo apt-get install lame flac | |
# For each file in the current directory, pass it through lame and output as MP3 | |
for f in *.flac; do flac -cd "$f" | lame -b 320 - "${f%.*}".mp3; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment