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
|
### 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
|
#### Disable Disk Image Verification
|
||||||
```bash
|
```bash
|
||||||
defaults write com.apple.frameworks.diskimages skip-verify -bool true && \
|
defaults write com.apple.frameworks.diskimages skip-verify -bool true && \
|
||||||
|
Loading…
Reference in New Issue
Block a user