This question already has an answer here:

I just deleted a file in Nautilus with Shift+Delete, which warned me that "If you delete an item, it will be permanently lost." I wonder if there is no way to recover the file?

My OS is Ubuntu 10.10.

marked as duplicate by derobert, jasonwryan, daisy, Renan, manatwork Mar 13 '13 at 7:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    What kind of fs? ext3? ext4? – frabjous Aug 13 '11 at 19:26
  • @frabjous: ntfs shared with Windows. – Tim Aug 13 '11 at 19:28
  • 3
    And this thread might help too, since nothing is fedora-specific. – frabjous Aug 13 '11 at 19:29

The first thing you have to do is to umount the partition. Next, TestDisk might help


You restore it from your back up. You do have one of those, right?


There are lots of disk scanners to help you get your files back after you unmount the file system. Try this one, a free open source solution just for ext filesystems.


Check the following links to find some howtos to use popular data recovery tools like foremost, photorec, scalpel and magic rescue:



and finally:


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