Command-line tool
foremost
brew/foremost
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Console program to recover files based on their headers and footers
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install foremost
Linux
brew install foremost
Recover files of a specific [t]ype (e.g., JPEG) from a disk image
foremost -t jpg -i path/to/disk_image.dd
Recover files of multiple [t]ypes
foremost -t gif,png,pdf -i path/to/disk_image.dd
Recover files using all predefined formats
foremost -t all -i path/to/disk_image.dd
Related command-line tools
- GIMP
GNU image manipulation program. image-editor image-editing imageediting paint painting pictures photo-editing… - rfcstrip
Strips headers and footers from RFCs and Internet-Drafts - cmdow
Win32 console application for manipulating program windows. - ansicon
Process ANSI escape sequences for Windows console programs. - picocom
Minimal dumb-terminal emulation program - conman
Serial console management program supporting a large number of devices - pandoc
Swiss-army knife of markup format conversion markdown docs document 转换 converter doc 转换器 pandoc 格式转换 document-converter - bulk-crap-uninstaller
Bulk program uninstaller with advanced automation
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents