Is there like EasyRecovery for Linux? Free open source command-line based software strongly preferred.

Expecting something like:

$ fat32_recovery --some-arcane-options dump.img dir/
Recovery in progress...
    ~ILE1.TXT -> dir/XILE1.TXT
    ~IR1 -> dir/XIR1/
    ~IR1/ololo.txt -> dir1/XIR1/ololo.txt
    ~IR1/kekeke.avi -> dir1/XIR/kekeke.avi [damaged 10%]
    goodfile.txt -> dir1/goodfile.txt

Is there special things for jpg photos or documents (like in EasyRecovery)?

There are numerous step-by-step recovery GUI tools for Windows, I'm looking for console-based ones targeted for power users.


You can try PhotoRec, which works natively on Linux. It works with all Windows and Linux filesystems. If the filesystem itself is damaged beyond what PhotoRec can handle, you can also use TestDisk (from the same company) which can repair and recover an entire filesystem if possible. Both of these tools are free, open source, and cross platform. From the website:

PhotoRec ignores the file system and goes after the underlying data, so it will still work even if your media's file system has been severely damaged or reformatted.

Alternatively, you might have some luck using Recuva under Wine. From the entry in WineHQ, it appears as though it works with Windows-based filesystems (e.g. NTFS/FAT32), but not Linux-based ones (e.g. Ext3, XFS).

  • Oh, forgot about PhotoRec. Hope it will work. But Recuva = fail. Looks like just yet another windows file recovery GUI tool that even can't dig into drive image. – Vi. Aug 22 '11 at 17:06
  • Ah, sorry, I missed that you were working with an image file. In that case, yeah, you can scrap Recuva. I've used it on Windows with some success, but that was only on a live hard drive. – Breakthrough Aug 22 '11 at 17:09

protected by Dennis Mar 6 '13 at 17:49

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.