photorec (1) - Linux Man Pages
photorec: Recover lost files from harddisk, digital camera and cdrom
photorec - Recover lost files from harddisk, digital camera and cdrom
photorec [/log] [/debug] [/d recup_dir] [device|image.dd|image.e01]
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.
create a photorec.log file
add debug information