macOS
brew install testdisklocal Homebrew formula metadata
sudo port install testdiskMacPorts ports tree · sysutils/testdisk/Portfile · 来源: api.github.com
安装
brew install testdisklocal Homebrew formula metadata
sudo port install testdiskMacPorts ports tree · sysutils/testdisk/Portfile · 来源: api.github.com
sudo apk add testdiskAlpine Linux edge package indexes · testdisk · 来源: dl-cdn.alpinelinux.org
sudo apt install testdiskDebian stable package indexes · testdisk · 来源: deb.debian.org
sudo dnf install qphotorecFedora Rawhide package metadata · qphotorec · 来源: dl.fedoraproject.org
nix profile install nixpkgs#testdisknixpkgs package indexes · testdisk · 来源: raw.githubusercontent.com
sudo pacman -S testdiskArch Linux sync databases · testdisk · 来源: geo.mirror.pkgbuild.com
sudo zypper install photorecopenSUSE Tumbleweed package metadata · photorec · 来源: download.opensuse.org
scoop install extras/testdiskScoop official bucket manifest trees · bucket/testdisk.json · 来源: api.github.com
winget install --id CGSecurity.TestDisk -eWindows Package Manager source index · CGSecurity.TestDisk · 来源: cdn.winget.microsoft.com
概览
Powerful free data recovery utility
历史
TestDisk is CGSecurity's long-running free and open-source data-recovery utility for recovering lost partitions, repairing boot sectors, rebuilding partition tables, and copying files from damaged or deleted filesystems. It is distributed with PhotoRec and is licensed under GPL v2 or later.
The official TestDisk documentation states that TestDisk was created in 1998 by Christophe Grenier, followed by PhotoRec in April 2002. CGSecurity continues to publish both tools together, with source available through its official cgit repository and release 7.2 documented in 2024.
TestDisk became a standard rescue-disk and package-manager tool because it targets emergency recovery work across operating systems rather than a single desktop workflow. Official docs list ready-to-use binaries for DOS, Windows, Linux, and macOS, with compilation support for BSD, Haiku, SunOS/Solaris, and other Unix-like systems; package metadata lists it across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE.
The package is usually installed when a disk, memory card, USB drive, or partition table has already failed. Users run the interactive terminal program with administrator privileges, select a disk, inspect partition tables, perform quick or deeper searches, repair NTFS/FAT boot sectors, or copy recoverable files before writing any partition changes.
TestDisk is a classic package-nerd rescue tool: boring to install on a good day, priceless on a bad one. It is valued because it is small, cross-platform, terminal-based, script-adjacent, and available from ordinary package managers before a recovery emergency occurs.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fidentify | cli | 全局可执行文件 | |
photorec | cli | 全局可执行文件 | |
testdisk | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.cgsecurity.org/wiki/TestDisk
安装元数据
| 软件包键 | brew:testdisk |
|---|---|
| 版本 | 7.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/testdisk |
| 主页 | https://www.cgsecurity.org/wiki/TestDisk |
| 仓库 | https://git.cgsecurity.org/cgit/testdisk |
| 上游文档 | https://www.cgsecurity.org/testdisk.pdf |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://www.cgsecurity.org/testdisk-7.2.tar.bz2 |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | testdisk |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
testdisk 7.2-0.1
Partition scanner and disk recovery tool, and PhotoRec file recovery tool
sudo apt install testdisktestdisk
nix profile install nixpkgs#testdisktestdisk 7.1-5+nmu1build2
Partition scanner and disk recovery tool, and PhotoRec file recovery tool
sudo apt install testdisktestdisk 7.2-r1
A data recovery suite
https://www.cgsecurity.org/wiki/TestDisk
sudo apk add testdisktestdisk-doc 7.2-r1
A data recovery suite (documentation)
https://www.cgsecurity.org/wiki/TestDisk
sudo apk add testdisk-docqphotorec 7.2-6.fc44
Signature based file carver. Recover lost files
https://www.cgsecurity.org/wiki/TestDisk
sudo dnf install qphotorectestdisk 7.2-6.fc44
Tool to check and undelete partition, PhotoRec recovers lost files
https://www.cgsecurity.org/wiki/TestDisk
sudo dnf install testdisktestdisk 7.2-3
Checks and undeletes partitions + PhotoRec, signature based recovery tool
https://www.cgsecurity.org/index.html?testdisk.html
sudo pacman -S testdiskphotorec 7.2-1.7
Tool to Undelete Files
https://www.cgsecurity.org/wiki/TestDisk
sudo zypper install photorecqphotorec 7.2-1.7
Graphical tool to Undelete Files
https://www.cgsecurity.org/wiki/TestDisk
sudo zypper install qphotorectestdisk 7.2-1.7
Tool to Recover and Fix Partitions
https://www.cgsecurity.org/wiki/TestDisk
sudo zypper install testdisktestdisk
sudo port install testdiskextras/testdisk
scoop install extras/testdiskCGSecurity.TestDisk
winget install --id CGSecurity.TestDisk -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.