#!/bin/sh if test "$1" = "" -o "$2" = "" ; then cat << EOF `basename $0` (c) 1999 Salmaso Raffaele / 2005 PaulTT This program is distributed under the GNU General Public License You are not allowed to remove the copyright notice usage: `basename $0` directory file.iso [Volume ID] - directory = the root directory and - file.iso = the filename of iso file - Volume ID = the label of the iso image (default: CDROM) The .iso image will be created with RockRidge and Juliet extensions EOF exit 1 fi PTT_LABEL="$3" if [ "x$PTT_LABEL" = "x" ]; then PTT_LABEL=`basename "$1"`; fi mkisofs -allow-lowercase -relaxed-filenames -allow-multidot -allow-leading-dots -joliet -rational-rock -disable-deep-relocation -full-iso9660-filenames -verbose -V "$PTT_LABEL" -output "$2" "$1"