Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had cut a few image files from a memory card to my Ubuntu Desktop. I then used a software Namexif using Wine to modify the names of the files. That was when my computer crashed for some time.

When I restarted the computer, the files that I had tried modifying were all corrupt and occupied zero bytes of memory.

How do I recover these files?

share|improve this question
Using gksudo nautilus, navigate to the folder lost+found. If you have a separate partition for home, it will be in /home/lost+found, otherwise /lost+found. Unfortunately, it is unlikely to be there, but it is worth a try. – Paddy Landau Jan 27 '13 at 19:00

Try using photorec, from the package testdisk. It's specifically designed to recover multimedia files from SD cards and pendrives. You'll lose the file names, but at least you'll recover your photos, probably.

Here you can find a complete guide on using photorec.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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