Skip to content

Instantly share code, notes, and snippets.

@52385385
52385385 / convert-and-split.sh
Last active October 7, 2020 01:50 — forked from a-r-d/convert-and-split.sh
How to take an annoying APE + CUE file cd rip and convert it into a set of FLAC or MP3 files on ubuntu.
#!/bin/bash
#first install all the things:
## sudo apt-get install flac ffmpeg mp3splt libav-tools shntool
# input files:
# --> CDImage.ape
# --> cp.cue
# (there are other options, like bitrate, but this is just the bare bones)
avconv -i CDImage.ape CDImage.mp3