dupcd: Duplicate an audio CD on-the-fly

master
Dustin 2016-07-10 17:36:15 -05:00
parent 8801b6433c
commit 2ed373353b
1 changed files with 12 additions and 0 deletions

12
dupcd.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
: ${SOURCE:=/dev/sr0}
: ${DEST:=/dev/sr1}
wodim -abort dev=${DEST}
exec cdrdao copy --on-the-fly \
--speed 4 \
--source-device ${SOURCE} \
--device ${DEST} \
--driver 'generic-mmc:0x10'