Sat, 26 Sep 2009
Splitting albums with cue files
Keywords: split cue flac mp3 linux ubuntu
In order to split a flac file of an entire album into its constituent parts:
$ sudo aptitude install cuetools shntool flac $ shnsplit -o flac -t '%a %n %t' -f *.cue *.flac
You can do something similar with other lossless formats.
To do the same with an mp3 file:
$ sudo aptitude install mp3split $ mp3split -c *.cue *.mp3
Obviously you'll need to be a little more specific if you have more than one album in a directory.