commands.sh

hdiutil

macos

Utility to create and manage disk images.

More info →

Examples (4)

Mount an image

hdiutil attach path/to/image_file

Unmount an image

hdiutil detach /Volumes/volume_file

List mounted images

Create an ISO image from the contents of a directory

hdiutil makehybrid -o path/to/output_file path/to/directory
made by @shridhargupta | data from tldr-pages