Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there a recovery program that recovers both OLE files (MS Office files, i.e. .doc, .docx) and Open Document Format files (Libre/Open Office ones, i.e .odt) on Ubuntu 12.04?

I deleted these files with Shift+Delete.

share|improve this question
    
Can you clarify what you mean? Are you saying that you've deleted files and want to recover them, or that you closed a program and didn't save the files? Specifically, what do you mean by OLE and open format files? –  jackweirdy May 13 '12 at 20:00
    
I deleted them with shift + delete with meaning to. OLE files are the MS Office files (i.e. .doc, .docx) and Open Format are the Libre/Open Office ones (i.e .odt) –  belkinsa May 13 '12 at 21:32
add comment

1 Answer

up vote 2 down vote accepted
+50

You could try foremost as described in the Ubuntu Community Help Wiki.

sudo apt-get install foremost

Assumed your deleted files are on /media/USB/ and you want to restore them to ~/Desktop/recovery/ run:

sudo foremost -t ole,zip -i /media/USB -o ~/Desktop/recovery

After that change ownership of that folder by

sudo chown -R user:user ~/Desktop/recovery/

whereat user is your username.

From the mentioned wiki page: "zip: Note is will extract .jar files as well because they use a similar format. Open Office docs are just zip’d XML files so they are extracted as well. These include SXW, SXC, SXI, and SX? for undetermined OpenOffice files."

share|improve this answer
    
I know that, but does it recover open format files too? –  belkinsa May 14 '12 at 9:52
    
From the mentioned wiki page: "zip: Note is will extract .jar files as well because they use a similar format. Open Office docs are just zip’d XML files so they are extracted as well. These include SXW, SXC, SXI, and SX? for undetermined OpenOffice files." –  Jakob May 14 '12 at 11:41
    
I see, I guess I should of read before throwing this question up. –  belkinsa May 14 '12 at 20:56
add comment

Your Answer

 
discard

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.