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:

  1. odt2txt for extracting the content of an OpenOffice.org document. (A Debian package is available)
  2. 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.

--> Back to the list of articles

License

Licensed under creative commonsThis 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.

Comments


Leave a comment:

This page uses static caches. Make sure you reload the page in your browser after posting a comment.

(will not be published)

CAPTCHA image for SPAM prevention Click here for audio version of the word to enter.

If you can't read the captcha word, please click to load a new image.
(You need Javascript turned on. Otherwise press the submit button and wait until the page has reloaded.)