testdisk
brew install testdisk
v7.2
GPL-2.0-or-later
Free command-line data recovery tool to recover lost partitions and unerase deleted files.
Why you might care
TestDisk lets you recover lost partitions and find deleted files from damaged disks or filesystems without GUI dependencies. It's a last resort when rm or accidental formatting has happened—handles FAT, NTFS, ext, HFS+, and more. Works on Linux, macOS, and Windows.
2.5k
30-day installs · #875
6.8k
90-day · #961
23.4k
365-day · #993
Links
- https://www.cgsecurity.org/wiki/TestDisk
- Brew formula source: Formula/t/testdisk.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"ddrescue",
"PhotoRec",
"e2fsprogs"
],
"build_dependencies": [],
"categories": [
"file-utility",
"sysadmin",
"recovery"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Powerful free data recovery utility",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:09+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "testdisk",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://www.cgsecurity.org/wiki/TestDisk",
"homepage_og_description": "TestDisk is a free and open source data recovery software tool designed to recover lost partition and unerase deleted files.",
"homepage_og_image": "https://www.cgsecurity.org/testdisklogo-clear-100.png",
"homepage_title": "Partition Recovery and File Undelete",
"installs_30d": 2514,
"installs_365d": 23374,
"installs_90d": 6820,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-2.0-or-later",
"llm_generated_at": "2026-06-20T23:47:36+00:00",
"llm_model": "claude-haiku-4-5",
"name": "testdisk",
"oldnames": [],
"one_liner": "Free command-line data recovery tool to recover lost partitions and unerase deleted files.",
"optional_dependencies": [],
"rank_30d": 875,
"rank_365d": 993,
"rank_90d": 961,
"raw_hash": "91f645ac592d9da0",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/t/testdisk.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
"ncurses"
],
"version_head": null,
"version_stable": "7.2",
"versioned_formulae": [],
"why_use_this": "TestDisk lets you recover lost partitions and find deleted files from damaged disks or filesystems without GUI dependencies. It\u0027s a last resort when rm or accidental formatting has happened\u2014handles FAT, NTFS, ext, HFS+, and more. Works on Linux, macOS, and Windows."
}