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:
Marcel Bischoff 2015-11-05 20:45:21 +01:00
commit ba4f968173

View File

@ -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 && \