mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-14 01:15:48 +02:00
hdiutil: add page (#3389)
This commit is contained in:
parent
df29c21ec9
commit
7e034ef54b
1 changed files with 19 additions and 0 deletions
19
pages/osx/hdiutil.md
Normal file
19
pages/osx/hdiutil.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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}}`
|
Loading…
Add table
Reference in a new issue