1
0
Fork
You've already forked hddvoid
0
No description
Shell 100%
2025年08月08日 21:58:23 +02:00
main.sh added --help 2025年08月08日 21:58:23 +02:00
README.md commit 2025年08月08日 21:03:26 +02:00

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)
  • dd
  • bash
  • 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
    
  • 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