Skip to content

Instantly share code, notes, and snippets.

@skull-squadron
Last active December 12, 2015 02:59
Show Gist options
  • Save skull-squadron/4703520 to your computer and use it in GitHub Desktop.
Save skull-squadron/4703520 to your computer and use it in GitHub Desktop.
turn files and folders into an iso (put this into an applescript)
vol_name="`basename \\"$1\\"`"
iso="$vol_name.iso"
counter=1
while [ -e "$iso" ]; do
counter=$[counter+1]
iso="$vol_name $counter.iso"
done
hdiutil makehybrid -iso -joliet -o "$iso" "$@"
@skull-squadron
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment