#!/bin/bash # Used with make-a-cdset, to burn "songlisting" as ISO mountable-filesystem # on track 1. Therefore all music tracks start at track 2. usecd='/mnt/cdtemp' echo $usecd mount $usecd cd $usecd/audio #cd /mnt/driveg/cdtemp/audio/alt-trax # Use -dummy to test!! if [ -n $1 ]; then addto=$1 fi echo $addto mkisofs -v -f -l -J -r -o isofiletmp.raw /root/bin/songlisting.txt ls echo Preparing to make dual-mode ISO songlisting and audio -- Pk: read # stupid-ass mkisosize won't do it to std output!! #function getisosize #{ # isosize=$8 # echo $isosize #} #mkisofs -R -q -print-size /root/bin/songlisting >/root/bin/tmpfile #getisosize