Splitting CUE/Log Flac Files

I ran across some old FLAC files I ripped and for some unknown reason I decided at the time that a the FLAC LOG/CUE format was the way to go. I dunno perhaps I was intoxicated at the time.

At any rate is what I used to split the single FLAC out into files.

Install the necessary tools (this is Pacman which I use on my Manjaro box):

# pacman -S cuetools shntool flac mutagen

Split out the giant FLAC file into smaller track FLAC files:

$ shnsplit -f cue_file.cue -t "%n %t" -o "flac flac -s -8 -o %f -" flac_file.flac

Then this populates the id3 tags in the newly split out FLAC files from the CUE file:

$ cuetag.sh cue_file.cue *.flac

Enjoy!