mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
20 lines
315 B
Markdown
20 lines
315 B
Markdown
![]() |
# hdiutil
|
||
|
|
||
|
> Utility to create and manage disk images.
|
||
|
|
||
|
- Mount an image:
|
||
|
|
||
|
`hdiutil attach {{filename}}`
|
||
|
|
||
|
- Unmount an image:
|
||
|
|
||
|
`hdiutil detach /Volumes/{{volumename}}`
|
||
|
|
||
|
- List mounted images:
|
||
|
|
||
|
`hdiutil info`
|
||
|
|
||
|
- Create an ISO image from the contents of a directory:
|
||
|
|
||
|
`hdiutil makehybrid -o {{filename}} {{dirname}}`
|