DeviceShred is a Qt-based desktop application for securely wiping removable storage devices (USB sticks, SD cards, external drives, etc.) on Linux.
-
System disks hidden → prevents accidental formatting.
-
Wipe methods:
- Fill with zeros
- Fill with random data (
/dev/urandom
)
-
TRIM/BLKDISCARD support → faster cleanup on supported devices.
-
Configurable block size (256 KiB – 16 MiB).
-
Modern, animated UI (Qt Widgets + QSS).
- Qt 5 or 6 (with development packages)
- C++17 compatible compiler (g++, clang)
On Ubuntu/Debian-based systems:
sudo apt install qtbase5-dev qt5-qmake g++ make
On Arch-based systems:
sudo pacman -S base-devel qt5-base clang
- Generate Makefile with
qmake
:
qmake DeviceShred.pro
- Build with
make
:
make
- Run (with root privileges):
sudo ./DeviceShred