Jump to content
  • Announcements

    • spinynorman

      Mandriva Official Documentation

      Official documentation for extant versions of Mandriva can be found at doc.mandriva.com.   Documentation for the latest release may take some time to appear there. You can install all the manuals from the main repository if you have Mandriva installed - files are prefixed mandriva-doc.
    • paul

      Forum software upgrade   10/29/17

      So you may have noticed the forum software has upgraded !!!
      A few things that have changed. We no longer have community blogs (was never really used) We no longer have a portal page.
      We can discuss this, and decide whether it is needed (It costs money) See this thread: Here
Sign in to follow this  
M_R

URGENT: NEED HELP RECOVERING FILES [solved]

Recommended Posts

Hello everybody. I really need your help this time:

 

 

I accidentally cast rm -rf in my home directory. Luckily, I managed to stop it quickly. The problem is that I lost three important things:

 

 

1 - My .thunderbird folder. I REALLY NEED THIS BACK.

2 - My developed software. I REALLY NEED THIS. I do have a backup of this one, but it's a few days ol and I don't wanna code all that again.

 

Can you help me with this please? I'm running Mandriva 2010 and I have tried scalpel, ddrescue, photorec, and magicrescue. Only photorec has yielded results. PLease, can you give me a hand. Data deleted via rm -rf doesn't go to a recycle bin or something?

Edited by M_R

Share this post


Link to post
Share on other sites

Have you tried testdisk? It might be able to help. Photorec is part of the testdisk program, so if you have this installed, testdisk should be there somewhere. If not, you can download it and use it to try and recover.

  • Upvote 1

Share this post


Link to post
Share on other sites

Have you tried testdisk? It might be able to help. Photorec is part of the testdisk program, so if you have this installed, testdisk should be there somewhere. If not, you can download it and use it to try and recover.

 

Hi Ian. You're great. Always saving my behind! It is working. I have managed to recover a few things.

 

 

Question1: can testdisk recover folders?

Question2: can I have photorec or testdisk recover the files with their former names? I'm getting an incredible amount of very old files and their names are too cryptic.

Question3: if not, can I have any of htose two recover only the files modified in the last 24 hours?

Share this post


Link to post
Share on other sites

Photorec is data carving, it doesn't care what the filesystem is, it looks at the sectors on the disk, and gives you random filenames. Testdisk is what you want if you want to recover with the filenames. Testdisk should be able to recover files and directories/folders from what I remember.

  • Upvote 1

Share this post


Link to post
Share on other sites

EXCELENT Ian!!! You really saved my behind this time. Testdisk worked like a charm! I recovered all the files except for an icon for my program. But that's OK, I saved everything thanks to you!!!

 

You were right: testdisk does recover the folder structure. Photorec comes with testdisk and they are not very difficult to use, although the lack of GUI is daunting at first.

 

 

Thank you very much for your help, you saved me years of software development.

Share this post


Link to post
Share on other sites

A year or so back I successfully used photorec to recover pictures on a cameras' memory card which I had screwed up somehow and could not get back any other way.

I thought they were gone for good.

 

Both programs are the tops.

 

Cheers. John.

Share this post


Link to post
Share on other sites

A year or so back I successfully used photorec to recover pictures on a cameras' memory card which I had screwed up somehow and could not get back any other way.

I thought they were gone for good.

 

Both programs are the tops.

 

Cheers. John.

 

Yep, definitively, it's just that they look a little intimidating without a GUI, but it's OK.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×