Quick tip: Converting DMG to ISO

Save this as dmg2iso and run from the terminal:


if [ -z "$1" ]; then
    echo "Usage: ${0##*/} <file>"
    exit 1

hdiutil makehybrid ${file}.dmg -o $file
Like this post? You might also like Coalmine, my centralized error tracking service for your apps. Coalmine captures errors and all kinds of helpful debugging information, notifies you, and makes it all searchable. Check it out!

Tags: , ,

Leave a comment