I know that within Kodi it is possible to unmount hard drives one at a time in the file Manager.
File Manager - Name of Drive - Context Menu - Unmount
I usually have about five or six external hard drives connected at one time so I would like to be able to run a shell script to unmount all the external drives that are connected. That way I can simply run this one script, either via an option on the main menu(using a skin that supports this) or I could keymap this script to a button press on a remote.
Is this possible?