Command-line tool
testdisk
brew/testdisk
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Powerful free data recovery utility
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id CGSecurity.TestDisk -e scoop bucket add extras; scoop install extras/testdisk
macOS
brew install testdisk
Linux
brew install testdisk
Start TestDisk on a specific device
sudo testdisk /dev/sdX
Start TestDisk on a disk image
sudo testdisk path/to/image.dd
Start TestDisk and create a log file (`testdisk.log`)
sudo testdisk /log /dev/sdX
Related command-line tools
- diskgenius
Utility for data recovery, disk partition management, backup & restore - dalfox
XSS scanner and utility focused on automation - kubie
Much more powerful alternative to kubectx and kubens - g-ls
Powerful and cross-platform ls - dagu
Lightweight and powerful workflow engine - jed
Powerful editor for programmers - epsilon
Powerful wavelet image compressor - hyx
Powerful hex editor for the console
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents