Created
November 29, 2013 07:12
-
-
Save evitolins/7702500 to your computer and use it in GitHub Desktop.
OSX Folder to hybrid .iso file. Personally using this to easily gain access to files stored on OSX filesystem from within a VirtualBox session.
This file contains 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
function dir2iso() { | |
echo "Generating ISO: ${1} -> ${1}.iso" | |
hdiutil makehybrid -iso -joliet -o ${1}.iso ${1} | |
} | |
alias dir2iso=dir2iso |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment