Mercurial > backup
view cd-backup.sh @ 8:e736b9aaf5ad
various attempts to do multisession burning; giving up for now.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 25 Feb 2013 13:30:46 +0000 |
parents | 11334e7aed98 |
children |
line wrap: on
line source
1 #!/bin/sh3 TARGET="/home/r/tmp/image.iso"5 #START=`cdrecord -msinfo`7 #echo "$START"9 GRAFT_POINTS=''11 for var in "$@"12 do13 GRAFT_POINTS="$GRAFT_POINTS \"`basename "$var"`\"=\"$var\""14 done17 #echo $GRAFT_POINTS19 #if [ "$START" == "0,0" ]; then20 COMMAND="mkisofs -iso-level 4 -rJT -o $TARGET -graft-points $GRAFT_POINTS"21 # echo $COMMAND22 # eval $COMMAND23 #else24 # COMMAND="mkisofs -iso-level 4 -rJT -M /dev/cdrom \25 # -C $START -o $TARGET -graft-points $GRAFT_POINTS"26 echo $COMMAND27 # eval $COMMAND28 #fi31 echo "files copied to $TARGET. use 'burn-tmp-iso-image' to burn it."33 #cd-burn