>From: Rizwan <[EMAIL PROTECTED]>


>The lines below are the contents of CD-Writing HOWTO. Give it a try.


>       shell> IMG_SIZE=`mkisofs -R -q -print-size private_collection/  2>&1 \
>       | sed -e "s/.* = //"`
>       shell> echo $IMG_SIZE
>       shell> [ "0$IMG_SIZE" -ne 0 ] && mkisofs -r  private_collection/  \
>       |cdrecord  speed=2  dev=0,6,0
>                   tsize=${IMG_SIZE}s  -data  -
>       #       don't forget the s --^         ^-- read data from STDIN



Although this command does not match the question, your hint will not work
anymore..

Since cdrtools-1.10a07, mkisofs also writes a easy to parse number to
stdout, I am sure that any command that combines stdout+stderr will not
work anymore.

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to