HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

photorec — Deleted file recovery tool. It is recommended to write recovered files to a disk separate to the one

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandclifilerecoveryphotorectoolrecommendeddeleted
linux

Problem

How to use the photorec command: 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_Step_By_Step>.

Solution

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_Step_By_Step>.

Run PhotoRec on a specific device:
sudo photorec {{/dev/sdb}}


Run PhotoRec on a disk image (image.dd):
sudo photorec {{path/to/image.dd}}

Code Snippets

Run PhotoRec on a specific device

sudo photorec {{/dev/sdb}}

Run PhotoRec on a disk image (`image.dd`)

sudo photorec {{path/to/image.dd}}

Context

tldr-pages: linux/photorec

Revisions (0)

No revisions yet.