Dec. 7., 2008
Creating a diff of OpenOffice .odt documents on the command-line
By Steffen Müller. Licensed under the Creative Commons License
I just found a little easter egg to create diffs of OpenOffice.org documents (*.odt) on the command-line.
All you need to have the following two new tools:
- odt2txt for extracting the content of an OpenOffice.org document. (A Debian package is available)
- oodiff for comparing the content.
The real easter egg is that you can compare your local copy with the latest subversion revision. Well, oodiff does not really connect to subversion, but uses a local copy of the .svn directory. Git and Mercurial are also supported.
License
This article is licensed under the Creative Commons License CC BY-SA 3.0. You are free to share (copy, distribute and transmit) and to remix (to adapt) the work under the following conditions:
- You must attribute the work by mentioning the name of the author (Steffen Müller) and setting a link back to the original article using its URL.
- If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.
