-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 On Wed, Apr 06, 2005 at 10:11:51AM -0700, jim grimsby wrote: > Sounds like a nice script you might want to share it with us. This is obviously a work in progress with no documentation. It has a brief menu with 2 options and it prompts for user input. I call it cd-burn. I will insert it below my next comment. When you quote messages, could you please include a quoting symbol in front of the quoted portions? Mutt has a really hot feature where you can skip over quoted text to get to your current replies but it depends on a quoting character to do this. Presently, it is hard to differentiate your quoted parts from your actual responses. - ----- Begin shell script ----- #!/bin/sh # General purpose CD burner script using crecord and mkisofs make_iso1() { echo echo -n "Enter name of directory to copy files from: " read -e INPUT echo -n "Enter name of ISO file image: " read -e ISOFILE echo -n "Enter volume label: " read -e VOLID mkisofs -v -r -J -V $VOLID -o $ISOFILE $INPUT } write_data1() { echo -n "Enter name of ISO file: " read -e ISOFILE cdrecord -v -eject -tao fs=8m -data $ISOFILE } # Main portion CHOICE="" while [ "$CHOICE" = "" ] ; do clear echo "CD Burner Main Menu" echo "" echo "1 - Build ISO image for single session CD" echo "2 - Burn a single session data CD" echo "X - Exit" echo "" echo -n "Enter choice: " read CHOICE case "$CHOICE" in 1) make_iso1 ;; 2) write_data1 ;; x) echo "" echo "Exitting CD burner script!" exit 0 ;; esac done - ----- End shell script ----- - -- HolmesGrown Solutions The best solutions for the best price! http://ld.net/?holmesgrown -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFCVCNPWSjv55S0LfERA0lfAKCMMIxHQPxNR3SazSKvLB7EoEsI4wCfaf1l Dvqxg5zIQlQiGkntYlOfMLM= =NUG/ -----END PGP SIGNATURE-----