Created
February 16, 2018 22:54
-
-
Save brunneis/b2d484ca8db08f4bc16d1460ca410cc2 to your computer and use it in GitHub Desktop.
Secure erase (overwrite all the blocks on the device with random data three times)
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
#!/bin/bash | |
DEVICE_ID=/dev/sdx | |
shred -v $DEVICE_ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment