Ask Your Question
0

Broken .odt file [closed]

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

Sioris gravatar image

updated 2015-09-06 22:36:58 +0200

Alex Kemp gravatar image

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 ...

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-21 20:09:17.395825

Comments

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

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

3 Answers

Sort by » oldest newest most voted
1

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

hunteke gravatar image

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'.

edit flag offensive delete link more
2

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

m.a.riosv gravatar image

To be a bit more secure next time:

image description

edit flag offensive delete link more
0

answered 2014-05-02 07:28:14 +0200

By default, my Libre installations have always set a backup location regardless if configured the Always create or AutoRecovery intervals.

The same aforementioned menus, Tools / Options LibreOffice / Paths

Linux variations are too numerous to emphatically warrant your default Backup's directory, Microsoft Windows binds the location to the %appdata% location unless someone has changed it

%appdata%\Roaming\LibreOffice\4\user\backup

If you're a LINUX user, it's reasonably assumed you're versed in concepts of file systems and environment variables to navigate to your respective Backup's location.

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 2,363 times

Last updated: May 02 '14