Sodamhan.com

TL;DR

photorec

Deleted file recovery tool. It is recommended to write recovered files to a disk separate to the one being recovered from. More information: https://www.cgsecurity.org/wiki/PhotoRec.

  • Run PhotoRec on a specific device:

sudo photorec /dev/sdb

  • Run PhotoRec on a disk image (image.dd):

sudo photorec path/to/image.dd

This document was created using the contents of the tldr project.