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

macphoto861

macrumors 6502a
Original poster
May 20, 2021
510
455
For years I've been using an app called Mountain, which let's me mount/unmount drives from the menubar (example, if an external USB drive is connected but was previously unmounted, I can remount it quickly without having to go through Disk Utility). However, it has not been updated in a long time and apparently has been abandoned. It is this (presumably there will be no M1-native version forthcoming), along with the fact that I've never been able to get it to mount encrypted drives, that has me looking for a more modern alternative.

Any ideas? It's a hard thing to search for, as most of the results that come up have to do with apps that only UNMOUNT drives.
 
For years I've been using an app called Mountain, which let's me mount/unmount drives from the menubar (example, if an external USB drive is connected but was previously unmounted, I can remount it quickly without having to go through Disk Utility). However, it has not been updated in a long time and apparently has been abandoned. It is this (presumably there will be no M1-native version forthcoming), along with the fact that I've never been able to get it to mount encrypted drives, that has me looking for a more modern alternative.

Any ideas? It's a hard thing to search for, as most of the results that come up have to do with apps that only UNMOUNT drives.
I have always used AppleScript for this.

To mount a drive that is attached, but not mounted, make a new script with the Script Editor App:

tell application "Finder" to if not (disk "Your Disk Name" exists) then do shell script "diskutil mount " & last word of (do shell script "diskutil list | grep 'Your Disk Name'")

Save it as a script in the user script folder (UserName/Library/Scripts)

To unmount a disk use:

tell application "Finder" to if (disk "Your Disk Name" exists) then do shell script "diskutil unmount " & last word of (do shell script "diskutil list | grep 'Your Disk Name'")

Check the checkbox in the Script Editor Apps Preferences/General "Show Script menu in menu bar"

I'm not very fluent with AppleScript so I'm sure I found this on the web somewhere (many years ago).

I don't use encrypted disks so don't know if this will work with them.

Hope this helps.
 
Last edited:
  • Like
Reactions: macphoto861
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.