No description
|
|
||
|---|---|---|
| main.sh | added --help | |
| README.md | commit | |
HDD-Void
small shell script for voiding disks
features
- using multiple disks, see usage.
- choosing repetitions
- choosing the data source
- choosing block size
installation
requirements
git(install-time, not needed while running)ddbash- a terminal supporting colors and SCO Support.
most standard linux distros already satisfy everything except git.
steps to install
- clone the repository:
git clone https://codeberg.org/noofel/hddvoid --depth 1
cd hddvoid
- make the shell script executable:
chmod a+rx main.sh
-
copy shell script into a PATH
- global (requires
sudo)
sudo cp main.sh /bin/hddvoid- single-user (doesnt require
sudo)
mkdir ~/.bin cp main.sh ~/.bin/hddvoid echo 'export PATH="$PATH:$HOME/.bin"' >> ~/.bashrc - global (requires
-
delete repository folder
cd ..
rm -rf hddvoid
usage
NOTE: the shell script wont ask you if you are sure wheather you want to void these disks; BE CAREFUL
basics
you can just type sudo hddvoid into the terminal to start.
writing multiple disks
to add another disk, append a comma behind the first disk. it will prompt you again for another disk:
Disk: /dev/sda, # <-- note the comma
Disk: /dev/sdb