Mounting an Attached but Un-Mounted External Drive (Yes You Can!)

This may be obvious to others, but then again, it might not be.

Using the code I posted here:

... you can create a macro to mount an external drive that is connected to your computer, but isn't mounted.

I used to use an application called "Mountain" for this, but now I've rolled my own.

FYI.

1 Like

Thank you! Very useful.

1 Like

Different than how yours is set up, I’ve long mounted attached volumes with a scheduled AppleScript since I would rather specify the times when Time Machine is run.

set theDisk to "Disk Name" do shell script "diskutil mountdiskutil list | awk ‘/ " & theDisk & " / {print $NF}’"

After Time Machine runs, another AppleScript unmounts the disk.

set theDisk to "Disk Name" do shell script "diskutil unmount " & quoted form of ("/Volumes/" & theDisk)

1 Like

I think they both amount to pretty-much the same thing. I also use them for Time Machine.