1 2 3 4 5 6 7 8 9 10
#!/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