Can I manually power down a USB hard drive in Linux? [closed]
Our backup script mounts an USB hard drive, copies some files, then unmounts. So, since the drive is only in use during this period, I thought it would be good to power down the drive once the backup is complete. Is there a command to do this? If yes, would I need to manually power it back up again when I need to use it next time?
Solution 1:
Use this script.
This script is designed to properly put an USB device into suspend mode that can then be unplugged safely. But the ultimate effect is what you want to achieve.
Find some discussion about the similar topic here.