Wipe hard drives

Securely delete files and folders or whole file systems to hinder recovery, e.g. through means of computer forensics.

See also:

fdisk -l # find out optimal I/O block size
dd if=/dev/zero status=progress bs=512 of=/dev/disk/by-id/

Other tools which can help with secure delete of data on HDDs:

  • badblocks -wsv -t random /disk/by-id/…

Fastcopy can wipe and delete files as well.

  • Last modified: 2021-08-27 10:35