ebuilds: http://myweb.ncku.edu.tw/~p4692405/mac.tar.gz
echo "app-cdr/cuetools" >> /etc/portage/package.keywords
emerge mac cuetools shntool
接著 ape2splitwav xxxx.ape yyyy.cue 即可
ape2splitwav內容為:
Code: Select all
#!/bin/bash
apefile=$1
cuefile=$2
wavfile=${apefile%ape}wav
mac $apefile $wavfile -d
echo "ape --> wav complete !"
echo "start to split wav !"
cuebreakpoints $cuefile > offset
shntool split -o wav -f offset $wavfile
rm offset $wavfile
echo "splitting complete !"