I'm trying to write a bash script that will mount an encrypted disk image. I've been using hdiutil and have figured out how to pass a password to the command, but it would be much simpler for me if hdiutil just opened a finder dialog box (like what happens when I double-click on a dmg file). That is to say, I'd love the bash script to pause and let the finder deal with the passoword/encryption. Is this possible?
I thought maybe i had to use diskutil instead of hdiutil, but I couldn't figure out how to pass a dmg file to the diskutil command.
I thought maybe i had to use diskutil instead of hdiutil, but I couldn't figure out how to pass a dmg file to the diskutil command.