From 4950e81d51a1792c80763ab5cde7dd29a0e0e703 Mon Sep 17 00:00:00 2001 From: Joe Block Date: Wed, 4 Nov 2015 09:54:50 -0800 Subject: [PATCH] Add snippet for creating a DMG file from a folder's contents --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index c9b1658..942ebe9 100644 --- a/README.md +++ b/README.md @@ -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 && \