Created
March 1, 2019 07:36
-
-
Save yasuoohno/b3bc93686f6d7e87894cfe6678872c38 to your computer and use it in GitHub Desktop.
Remove USB HDD gracefully on Ubuntu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
/usr/bin/udisksctl power-off -b $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment