Split .ape files with cue and convert to flac
August 1st, 2009
Split .ape files with cue and convert to flac format is not so difficult.
We do it on an Ubuntu box for example:
First, install the dependency of shntool, flac, mac, cuetools
sudo aptitdue install flac shntool cuetools
and download mac package in form of deb or tarball.
Run the following command in a terminal:
shntool split -f FileName.cue -t '%n. %t' -o flac FileName.ape
and the output .flac files’ name follows this sequence:
1. Track1name.flac
2.Track2name.flac
4 Responses to “Split .ape files with cue and convert to flac”
Leave a Reply
You must be logged in to post a comment.

August 8th, 2009 at 17:36
Didn’t understood the last part :s could you explain better please?
August 9th, 2009 at 01:52
There was a typo on the last line and I’ve corrected it.
In man page of shntool, we can get:
-t fmt Name output files in user-specified format based on CUE sheet
fields. The following formatting strings are recognized:
%p Performer
%a Album
%t Track title
%n Track number
so the last two lines mean we can get the split files honors the rules specified as “1. firsttrackname.flac” and so on. Because we use the “split” option, the result files’ names will be the tracks name defined in the cue sheet rather than the original ape file.
August 9th, 2009 at 15:02
thank you! I really liked this post!
August 10th, 2009 at 16:00
thank you! I really liked this post!