Last active
December 12, 2015 02:59
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" "$@" |
Author
skull-squadron
commented
Feb 3, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment