photorec - Man Page

Recover lost files from harddisk, digital camera and cdrom

Examples (TL;DR)


photorec [/log] [/debug] [/d recup_dir] [device|image.dd|image.e01]

photorec /version


  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



create a photorec.log file


add debug information

See Also

testdisk(8), fdisk(8).


PhotoRec 7.2, Data Recovery Utility, February 2024
Christophe GRENIER <>

Referenced By

fidentify(8), qphotorec(8), testdisk(8).

February 2024 Administration Tools