|
#1
| |||
| |||
| Supplying a password to "open" without a GUI-based dialog box? I have created an encrypted disk image that I want to open the command line, using the open program. I issue the open Image.dmg command, at which time a dialog box pops up on the screen, prompting me for the encryption password. However, what I'd like to do is issue the password without a GUI-based password dialog. Is this possible? If so, how? The reason I want to do this is because I ssh into my Mac from a remote Linux box, and I can only run command-line utilities. I'd like to open the volume from within this remote connection. Thanks in advance for any suggestions you can offer. . |
|
#2
| ||||
| ||||
| Apple has a powerful command-line utility for manipulating disk images calld hdiutil. The simple usage for mounting an image is this: Code: hdiutil attach myimage.dmg -stdinpass |
|
#3
| |||
| |||
| Thanks! This works for me. |