Ask Your Question
0

Broken .odt file

asked 2012-10-04 22:19:24 +0200

Sioris gravatar image Sioris
1 1 1

Hi guys, i've real problem with broken .odt file.

The story is probably like many anothers - I was working on my computer, still saving using ctrl+s, the elektricity got down and the computer got down too. I tried to restore the document (working on Ubuntu), but I get only the "Ascii filter options" window and after some 255 pages long document, which starts with many hashes and with some broken parts of xml code. I tried to unzip the file, but content.xml seem like broken, too. Is anybody able to help? I need to restore the holy text only... The broken file is on jirikunc.cz/DATA/bad.odt

Is there any possibility to find any old file copy in Ubuntu filesystem? Or to find the text in this file? Thank you for your ideas ...

delete close flag offensive retag edit

Comments

(the link to the file on jirikunc.cz is now dead)

qubit ( 2013-02-13 01:22:26 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-10-05 09:46:12 +0200

hunteke gravatar image hunteke
175 4 10

Marisov has correctly identified what you should do for the future. However, that does not help you now.

Unfortunately, the file you supplied is corrupted beyond repair. Your only recourse is to try to find an alternate or older copy of the file. Since you're running Ubuntu, I can offer some command line "magic" that may be helpful in tracking down an alternate version of the file.

Open up a terminal (e.g., gnome-terminal, xterm, konsole), and at the prompt ($), type:

find / -name "*part of file name*"

The asterisks (*) tell the 'find' program to search for any file name that includes the snippet you typed. For example, to find any file with a '.odt' extension:

find / -name "*.odt"

If you aren't sure of the capitalization, you can use '-iname':

find / -iname "*my_file*.odt"

This will search for any file name that includes "my_file" (ignoring case), and ending with '.odt'.

link delete flag offensive edit
2

answered 2012-10-04 23:59:10 +0200

mariosv gravatar image mariosv flag of Spain
4659 20 46

To be a bit more secure next time:

image description

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-10-04 22:19:24 +0200

Seen: 389 times

Last updated: Oct 05 '12