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.

(This is Lubuntu 13.04)

I have a damaged .doc (word) file, made with abiword. The power went off, and damaged the file. I tried reading it in libreoffice as well. Any advice on how repairing this file on Ubuntu?

share|improve this question
    
what happens when you try to open it with libreoffice? is there any recovery screen? –  philshem May 12 '13 at 23:00
    
This is what libreoffice says: File format error found at 151,163 (row, col). Now file recovery dialog opens! –  kjetil b halvorsen May 12 '13 at 23:12
    
Did you try using the recovery dialog? –  haneefmubarak May 12 '13 at 23:40
add comment

1 Answer 1

You might be able to salvage some of the text. Try running this command in a terminal:

strings foo.doc | less

Then scroll through with the enter key.

To filter to only strings of at least ten characters:

strings -n10 foo.doc | less
share|improve this answer
add comment

protected by fossfreedom Jun 17 '13 at 22:24

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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.