AptLynx

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

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents