Max OS X: Create ISO file of directory

A couple of days ago I had to get some files over to a VirtualBox Ubuntu server guest system. I decided to achieve this by mounting an ISO file using the guest’s virtual DVD drive.

Having a strong Linux background, I was happy to find a neat command line solution in order to create an ISO of the directory šŸ˜‰

hdiutil makehybrid -o ~/path/to/destination.iso ~/path/to/source/folder -iso -joliet

Within this command, replace /path/to/destination and /path/to/source/folder with the source respectively destination path. The last two parameters specify the ISO file system. Of course all available options can be found in the command’s man page šŸ˜‰

Leave a Reply