#! /usr/bin/env bash # for truly not sensitive information, this command wipes all the OS information for drive in a b c d e f g do wipefs -a /dev/sd$drive done # but, to really remove in a way that takes tons of effort to recover, do this also for drive in a b c do echo Cleaning sd%drive dd if=/dev/zero | pv -petrs 580G | dd of=/dev/sd$drive done