Last active
October 11, 2015 10:28
-
-
Save makotom/3844761 to your computer and use it in GitHub Desktop.
Rip a precise CD audio copy (as a replacement of EAC)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DEV=/dev/sr0 | |
OFFSET=6 | |
cdparanoia -d $DEV -O $OFFSET 1- data.wav | |
cdrdao read-toc --device $DEV cdda.toc | |
toc2cue cdda.toc cdda-tmp.cue | |
sed -e s/BINARY/WAVE/ cdda-tmp.cue > cdda.cue | |
rm cdda.toc cdda-tmp.cue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment