Differences
This shows you the differences between two versions of the page.
cd_backup [2018/12/15 03:30] – created beandog | cd_backup [2018/12/15 03:36] (current) – beandog | ||
---|---|---|---|
Line 4: | Line 4: | ||
< | < | ||
+ | # | ||
+ | device="/ | ||
+ | test -z " | ||
+ | disc_id=" | ||
+ | if [[ -z " | ||
+ | echo "Could not grab Disc ID" | ||
+ | exit 1 | ||
+ | fi | ||
+ | if [[ ! -e " | ||
+ | cdparanoia -d $device 1- ${disc_id}.wav | ||
+ | fi | ||
+ | if [[ ! -e " | ||
+ | yes 1 | cdrdao read-toc --device $device --with-cddb ${disc_id}.toc | ||
+ | fi | ||
+ | if [[ ! -e " | ||
+ | cueconvert -i toc -o cue ${disc_id}.toc ${disc_id}.cue | ||
+ | fi | ||
+ | </ |