sudo apt-get install cuetools shntool flac vorbis-tools
Standing in a directory with exactly one flac file and exactly one cue file:cuebreakpoints *.cue | shnsplit -o "cust ext=ogg oggenc -q 6 -o %f -" *.flac -f *.cue -t '%n. %p - %t'
Standing in a directory with multiple subdirectories containing exactly one flac file and one cue file:
for d in *; do cd "$d"; cuebreakpoints *.cue | shnsplit -o "cust ext=ogg oggenc -q 6 -o %f -" *.flac -f *.cue -t '%n. %p - %t' && rm *.flac *.cue *.log ; cd .. ; done
Note: as you can see, there's absolutely no error checking. It only works in the said circumstances. However, the original flac, cue (and the unnecessary log) files will only be deleted if the split+encoding command succeeded, so it's relatively safe.
So what would it be advisable for you to would in the event that you like to play them on your macintosh?anyconv.com
ReplyDeleteNice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. FLAC vs MP3
ReplyDelete