Corrupted ODS-File

I have had the exact same problem as Azman did, and he found the solution and described it here [1]. After reading his post I’ve decided to take the shortcut and install the xmlindent package first. So here is my approach: # cp FILE.ods BACKUP_FILE.ods # unzip -p FILE.ods content.xml | xmlindent > content.xml # vim content.xml # zip FILE.ods content.xml Thanks Azman, it helped me a lot! [1] http://blog.my1matrix.org/2011/12/libreoffice-tragedy-corrupted-ods-file.html

June 1, 2014