Repair corrupted odt

Olivier Chorier lapsus63 at
Sun Nov 23 03:01:32 PST 2014

Hello everybody,

I'm looking for a way to repair thousands of corrupted odt files. Those
files have been corrupted after FTP send operations, for some reason.

The "zip" structure seems corrupted. I tried using 7-zip to unzip and zip
again the odt file, but it doesn't work every time.
Libre Office can repair them every time, but I need to open, repair, save
and close those files one by one.

I wonder if a script or something like that could be used to repair those
files. I can't do it manually because there is thousand of them. Ideally, I
could check them, and repair them automatically using a bash or a java

Thank you very much for your help,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the LibreOffice mailing list