Last active
August 29, 2015 14:22
-
-
Save sneak/347c869f4dad965222cf to your computer and use it in GitHub Desktop.
wipe disk
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/local/Cellar/openssl/1.0.2a-1/bin/openssl enc -aes-128-ctr \ | |
-pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero | \ | |
pv -p -e -r --size 512G | \ | |
dd of=/dev/rdisk2 bs=10m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment