- PhotoRec is specialised in video, documents and archives from hard disks, CD-ROMs, and lost pictures from digital camera memory (thus the Photo Recovery name).
- Contrarily to popular belief TestDisk can recover anything, but (and that’s a big but):
testdisk
takes more time to recover a file as it’s a generic tool, not specialised in anything, contrarily to PhotoRec.- you should:
- immediately stop using the disk you deleted the file from
- remove the disk
- make a
dd
of that disk to another disk - do the recovery on the copy
- if you mess up doing the recovery make another copy of the original
This won’t help you right now, but for the future, please read this: