mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-15 04:50:40 +03:00
20 lines
347 B
Markdown
20 lines
347 B
Markdown
# 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}}`
|