I am trying to experiment with ODF files, specifically .ods
files. The directory I am working with is an unzipped .ods
file made with LibreOffice, and all I am trying to do is recompress it.
I have tried using the following commands:
- zip -Z deflate test_new.ods -r test1/
- tar -czvf test_new.ods test1/
- gzip -cr test1/* > test_new.ods
- gzip -cr test1 > test_new.ods
I was expecting to open test_new.ods
with LibreOffice and it display the cells that I have added. Instead I either get an error saying the file is corrupted or it displaying each XML document’s content instead of the data I added to the cells.
Johann Vette is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.