For power saving reasons I want to turn off a second hard drive. When the secondary HDD is needed I want to turn it on.
I found a way to turn off but I need to be able to turn off and turn on.
How can I turn a secondary HDD on and off from a bash script?
Thank you very much for your help.