Command-line tool
scrub
brew/scrub
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Writes patterns on magnetic media to thwart data recovery
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install scrub
Linux
brew install scrub
Securely overwrite a file using the default overwrite pattern
scrub path/to/file
Securely overwrite multiple files
scrub path/to/file1 path/to/file2 ...
Securely overwrite a block device or partition
sudo scrub /dev/sdX
Related command-line tools
- dmagnetic
Magnetic Scrolls Interpreter - integrity-scrub
Scrub dm-integrity volumes - geographiclib
C++ geography library - ucommon
GNU C++ runtime library for threads, sockets, and parsing - hashcat
World's fastest and most advanced password recovery utility - mt
Control magnetic tape drive operation (commonly LTO tape). ham-radio meshtastic lora ble - diffoscope
In-depth comparison of files, archives, and directories - yek
Fast Rust based tool to serialize text-based files for LLM consumption
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents