Add snippet for creating a DMG file from a folder's contents
This commit is contained in:
parent
1e441030d1
commit
4950e81d51
@ -298,6 +298,11 @@ sudo fs_usage
|
||||
|
||||
### Disk Images
|
||||
|
||||
#### Create a Disk Image From the Contents of a Folder
|
||||
```bash
|
||||
hdiutil create -volname "Name Of Volume" -srcfolder /path/to/Folder -ov MyDmgName.dmg
|
||||
```
|
||||
|
||||
#### Disable Disk Image Verification
|
||||
```bash
|
||||
defaults write com.apple.frameworks.diskimages skip-verify -bool true && \
|
||||
|
Loading…
Reference in New Issue
Block a user