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