Splitting single flac file into multiple tagged ones

# Install needed stuff
apt-get install cuetools shntool flac  
# Split into untagged flac files
cat *.cue | shnsplit -i flac -t %n-%t -o flac *.flac  
# move the original flac file out of this directory
mv $FOOBAR.flac /tmp  
# Tag them
cuetag *.cue *.flac  
# Have fun!