Skip to main content

macOS utility to create and manage disk images.

# To mount an image:
hdiutil attach <path/to/image_file>

# To unmount an image:
hdiutil detach /Volumes/<volume_name>

# To list mounted images:
hdiutil info

# To create an ISO image from the contents of a directory:
hdiutil makehybrid -o <path/to/output_file> <path/to/directory>