photorec - Man Page
Recover lost files from harddisk, digital camera and cdrom
Examples (TL;DR)
- Run PhotoRec on a specific device:
sudo photorec /dev/sdb
- Run PhotoRec on a disk image (
image.dd
):sudo photorec path/to/image.dd
Synopsis
photorec [/log] [/debug] [/d recup_dir] [device|image.dd|image.e01]
photorec /version
Description
PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (Photo Recovery) from digital camera memory. PhotoRec ignores the filesystem and goes after the underlying data, so it'll work even if your media's filesystem is severely damaged or formatted. PhotoRec is safe to use, it will never attempt to write to the drive or memory support you are about to recover lost data from.
For more information on how to use, please visit the wiki pages on www.cgsecurity.org
Options
- /log
create a photorec.log file
- /debug
add debug information
See Also
Author
PhotoRec 7.2, Data Recovery Utility, February 2024
Christophe GRENIER <grenier@cgsecurity.org>
https://www.cgsecurity.org
Referenced By
fidentify(8), qphotorec(8), testdisk(8).