Partir flac

shnsplit -f *.cue -t %n-%t -o flac *.flac

ape2flac

ffmpeg -i input.ape output.flac