First time here? Check out the FAQ!
asked 2012-10-04 22:19:24 +0200Sioris
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 ...
answered 2012-10-05 09:46:12 +0200hunteke
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'.
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!
Asked: 2012-10-04 22:19:24 +0200
Seen: 389 times
Last updated: Oct 05 '12