tldr/pages/osx/hdiutil.md
2019-11-22 15:03:55 +00:00

347 B

hdiutil

Utility to create and manage disk images.

  • Mount an image:

hdiutil attach {{path/to/image_file}}

  • Unmount an image:

hdiutil detach /Volumes/{{volume_name}}

  • List mounted images:

hdiutil info

  • Create an ISO image from the contents of a directory:

hdiutil makehybrid -o {{path/to/output_file}} {{path/to/directory}}