mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 12:02:08 +02:00

* Make placeholders more compatible with CLIP ones: - https://github.com/command-line-interface-pages/prototypes/pull/32 * Update pages/osx/xsltproc.md Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages/osx/dd.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
20 lines
404 B
Markdown
20 lines
404 B
Markdown
# 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}}`
|