Add snippet for creating a DMG file from a folder's contents

This commit is contained in:
Joe Block 2015-11-04 09:54:50 -08:00
parent 1e441030d1
commit 4950e81d51

View File

@ -298,6 +298,11 @@ sudo fs_usage
### Disk Images ### 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 #### 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 && \