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_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}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.