This shows you the differences between two versions of the page.

Link to this comparison view

scripts:cdimage.sh [2020/06/04 12:06] (current)
john created
Line 1: Line 1:
 +# script to bincue CDs with cdrdao
 +unset imgname
 +echo Input desired image name
 +read imgname
 +sudo cdrdao read-cd --read-raw --device /dev/sr0 --datafile /tmp/$imgname.bin /tmp/$imgname.cue
 +sudo mv /tmp/$imgnanme* /mnt/Data
 +sudo chmod 777 /mnt/Data/$imgname*
 +sudo chown john /mnt/Data/$imgname*
 +read -p "Done. Do you want to run again? (y/n) " -n 1 -r
 +echo    # (optional) move to a new line
 +if [[ $REPLY =~ ^[Yy]$ ]]
 +    eject
 +    exec /home/john/cdimage.sh
scripts/cdimage.sh.txt ยท Last modified: 2020/06/04 12:06 by john
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0