hdiutil
安全ディスクイメージ操作
hdiutil attach <image.dmg>
DMGのマウント・作成・変換。createで暗号化イメージも作れ、機密ファイルの受け渡しに便利。
実行例
hdiutil create -encryption -size 1g -volname Secure secure.dmg暗号化DMGを作成
書式
hdiutil [attach|detach|create] <image>
実行前の注意
attach/detachは安全。createの上書きに注意。