How to split big flac file int tracks and fill the id3 tag?

Install reaquired packages on Debian (Ubuntu):

sudo apt-get install cuetools shntool flac

Split flac file and fill id3 tags:

cuebreakpoints sample.cue | shnsplit -o flac sample.flac
cuetag sample.cue split-track*.flac

Some systems has cuetag.sh instead of cuetag.