Last active
December 14, 2015 05:29
-
-
Save jottr/5035733 to your computer and use it in GitHub Desktop.
Convert FLAC files contained in subfolders into VBR high quality mp3 and delete source files after transcode
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
find . -type f -iname '*.flac' | while read FILE; do FILENAME="${FILE%.*}"; flac -cd "$FILE" | lame -q 0 --vbr-new -V 0 - "${FILENAME}.mp3" && rm "${FILENAME}.flac"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment