hdiutil
Utility to create and manage disk images. More information: https://ss64.com/osx/hdiutil.html.
-
Mount an image:
hdiutil attach {{path/to/image_file}}
-
Unmount an image:
hdiutil detach /Volumes/{{volume_file}}
-
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.