Skip to content

Instantly share code, notes, and snippets.

@gogoprog
Created May 26, 2016 12:08
Show Gist options
  • Save gogoprog/7515b668c58af173f85b32c3ab5f08fa to your computer and use it in GitHub Desktop.
Save gogoprog/7515b668c58af173f85b32c3ab5f08fa to your computer and use it in GitHub Desktop.
A script to create dmg files on osx
hdiutil create -fs HFS+ -srcfolder "$1" -volname "$2" "$2.dmg"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment