#!/bin/bash name=$(basename $0) if [ ! "$2" ] ; then echo $name: usage $name iso_file path exit 1 fi hdiutil makehybrid -o "$1" "$2" -iso -joliet