mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
19 lines
460 B
Plaintext
19 lines
460 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|