foremost

Recover files from disk images based on headers and footers

brewmacoslinux
Try with needOr install directly
Source

About

Console program to recover files based on their headers and footers

Commands

foremost

Examples

Recover all supported file types from a disk image$ foremost -i /path/to/diskimage.img -o /path/to/output
Recover only JPEG and PNG images from a device$ foremost -t jpeg,png -i /dev/sda1 -o /path/to/output
List all supported file types that can be recovered$ foremost -h