Created
April 27, 2014 02:27
-
-
Save matthewpoer/11336286 to your computer and use it in GitHub Desktop.
Mange your music ripping from CLI/Bash (Linux Shell) with two quick functions: 'flacthiscd' will create a lossless FLAC format rip of the cd in your primary optical drive. Once that's complete, run 'mp3theseflacs' from the same directory to duplicate the files, but as lossy MP3 files (for your iPod, etc.)
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
# aptitude install abcde lame | |
# from inspired by http://pinehead.tv/linux/solution-converting-flac-to-mp3/ | |
alias mp3theseflacs='mkdir mp3;for file in *.flac; do flac -cd "$file" | lame -h - mp3/"${file%.flac}.mp3"; done' | |
alias flacthiscd='abcde -o "flac" -q "high"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mp3theseflacs does not preserve tag data. Let your media application re-tag it from Gracenote, etc.