LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-04-2013, 11:10 AM   #1
davidwangxs
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
Question How to recover a corrupted odt file?


Due to an unexpected shutdown of my computer, one of my .odt files has corrupted. Currently its size is shown to be 0 bytes. The file is completely empty. Anybody know it is possible to recover the file? Please let me know. Thanks in advance.
 
Old 02-04-2013, 11:35 AM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Open Office should prompt you for an automatic recovery when you re-launch the application if it can be recovered. That is the only way I have ever recovered documents with OpenOffice and it has always worked. If the file size is 0 bytes and you don't see a tmp file created your data is more than likely gone.
 
Old 02-04-2013, 11:42 AM   #3
davidwangxs
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
The automatic recovery didn't work. A tmp file was created, but couldn't find related file. I don't know why my data was gone so easily. Really no way to find my data?
 
Old 02-04-2013, 02:04 PM   #4
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
If the auto recover failed and you dont have a known good copy of the file then yes, your data is essentially gone.
 
Old 02-04-2013, 03:56 PM   #5
davidwangxs
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I have found a 8.5kb size of copy of the file, but couldn't open it with LibreOffice correctly. What's the problem?
 
Old 02-04-2013, 09:34 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
You might try opening that tmp file with a text editor; there might be something salvageable there. Text editors will sometimes work when there are formatting errors that will keep a word processor from opening the file. Be prepared to wade through a lot of formatting gibberish to find the actual text.

If a previous version of the file was not saved before the shutdown, there may not be much more that can be done to save it.
 
Old 03-06-2013, 07:02 AM   #7
barten
LQ Newbie
 
Registered: Mar 2013
Posts: 2

Rep: Reputation: Disabled
Thumbs up How to recover corrupted ODT file?

Quote:
Originally Posted by davidwangxs View Post
Due to an unexpected shutdown of my computer, one of my .odt files has corrupted. Currently its size is shown to be 0 bytes. The file is completely empty. Anybody know it is possible to recover the file? Please let me know. Thanks in advance.
There is no better solution to recover a corrupted ODT file except a third-party recovery software. I have also faced such situation in my past. After trying every possible steps to no avail, I looked forward for some third-party recovery software. I found SysInfoTools OpenOffice Writer Repair software best for me. I used its demo version first. I saw my original ODT file in preview session. Then I bought its full version and saved my recovered file. You may also check its demo version. It's free. Go and get it.
Regards.
 
Old 04-12-2023, 04:27 AM   #8
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Finally a solution found after ten years...

Sounds like an ad though?
 
1 members found this post helpful.
Old 04-12-2023, 05:55 AM   #9
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,484

Rep: Reputation: Disabled
Sorry, but this proves the necessity of always having back ups - every time I save my spreadsheet, I also save a back up copy.

Last edited by fatmac; 04-12-2023 at 05:59 AM.
 
1 members found this post helpful.
Old 04-12-2023, 06:47 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,830

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by Jan K. View Post
Finally a solution found after ten years...

Sounds like an ad though?
I guess that is just spam/ad of a windows only payware software. reported
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to recover data from a corrupted external HD? sagar1karuna Linux - Newbie 1 10-22-2011 10:33 AM
Corrupted file system, need a way to recover it! Urgent! pkgtool Fedora 3 11-18-2009 02:00 PM
File system corrupted, how to move LVM drives to another machine to recover files? Arodef Linux - Hardware 1 08-07-2009 06:19 PM
How to recover corrupted glibc kk2202 Linux - Newbie 3 05-14-2009 01:59 AM
Recover corrupted backups Jzarecta Linux - Security 1 06-26-2007 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration