full image - Repost: Trying to eject external mac drive from my iphone (from Reddit.com, Trying to eject external mac drive from my iphone)
Mining:
Exchanges:
Donations:
Hello all,My wife keeps unplugging my mac laptop from its dock, where an external Time Machine drive is mounted, so she can charge her AirPods. This scares me as I've always been taught one must eject an external drive before physically disconnecting it. I'm hoping to find or create a dead-simple way to eject the mac's external drives from an iPhone. Any ideas?I believe this should be theoretically possible using the terminal emulator app a-shell and Shortcuts. I've already written a working shell script that works to do unmount my mac's external drives from my iPhone, using a-shell or another terminal emulator on the iPhone, but for some reason when I run the script from Shortcuts (via a-shell), it doesn't work.Any other ideas? Basically, if I have a working shell script to ssh into another computer on the same network and execute a simple command, what's the easiest way to launch it from an iPhone (ideally without having to be familiar with the command line, so my wife can do it)? Or am I overlooking a simpler way to eject my mac's external drive from my iPhone?Bonus points if it could also integrate with Shortcuts ... then I can assign an NFC tag to it and she could just tap her iPhone to it to eject my mac's drives. Thank you!
Social Media Icons