tldr/pages/osx/hdiutil.md

20 lines
315 B
Markdown
Raw Normal View History

2019-10-12 15:17:22 +01:00
# 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}}`