Is there a comprehensive command-line Diff tool for LibreOffice documents?

Is there an accessible mechanism in LibreOffice to compare ODF documents?

I know that there is a “Compare Documents…” menu item, but it would be nice to have a command line interface (maybe using “patch” or similar) so that ODF documents could be compared against in git.

Furthermore, it would help in versioning ODF documents in general.

I understand your posting as an enhancement request. Please place it here:

If my understanding is wrong please re-phrase your posting.

You may be looking for a combination of these two:


OODIFF (with git instructions)

These tools were in the correct mindset of what I was thinking, but I’m not sure that they work with images and other document features.

If the “Compare Documents…” option already exists, it does not seem like that much additional effort to make it scriptable and assume a default answer (yes) when merging and so forth.