hdiutil create -fs HFS+ -encryption -stdinpass \
-srcfolder SomeFolder -volname VolumeName Encrypted.dmg
The -stdinpass option prompts you for a password for the DMG, reading from standard input (using readpassphrase in a terminal).
Nice.
grumpy. irreverent. derisive. snuggleable?
hdiutil create -fs HFS+ -encryption -stdinpass \
-srcfolder SomeFolder -volname VolumeName Encrypted.dmg
No comments:
Post a Comment