Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hawkeye_a

macrumors 68000
Original poster
Jun 27, 2016
1,637
4,384
It's been ages since i've done anything with AppleScript/automator/macOS-scripting.

I'm running 10.15.3 and thinking about turning off FileVault on my Mac, and just creating encrypted disk images of specific folders. Ideally, i'd like to have these disk images mounted when I log into the machine automatically (or at most request a password once, and mount them, after logging into the machine).

Anyone know how I could accomplish something like this? Or where I could get started?

Cheers
 
Last edited:
I think you can simply drag the .dmg disk image files into SysPrefs > Users > Login Items.

Otherwise I would try to write a shellscript that uses the "hdiutil" terminal command, and tell "launchd" to run that script on login.
 
  • Like
Reactions: hawkeye_a
I think you can simply drag the .dmg disk image files into SysPrefs > Users > Login Items.

Otherwise I would try to write a shellscript that uses the "hdiutil" terminal command, and tell "launchd" to run that script on login.

Thanks, will try it out
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.