Snip
|
Command-line tools to manipulate OpenDocument files
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
OpenOffice itself can convert between a lot of different file formats, but you have to use the GUI, while a command-line facitily would help batch-processing (Makefiles, scripts, ...).
I found out the two following projects:
odt2txt allows one to diff two opendocument files like text files. Install odt2txt and download this (trivial) shell-script and put it in your $PATH (no idea on how to run this on windows :-():
HTML |
<h2 xmlns="http://www.w3.org/1999/xhtml">Command-line tools to manipulate OpenDocument files</h2> <p xmlns="http://www.w3.org/1999/xhtml">OpenOffice itself can convert between a lot of different file formats, but you have to use the GUI, while a command-line facitily would help batch-processing (Makefiles, scripts, ...).</p> <p xmlns="http://www.w3.org/1999/xhtml">I found out the two following projects:</p> <ul xmlns="http://www.w3.org/1999/xhtml"> <li><a href="http://dag.wieers.com/home-made/unoconv/">Unoconv</a>: a command-line program which uses the OpenOffice API to do any conversion that OpenOffice itself is able to do.</li> <li><a href="http://stosberg.net/odt2txt/">Odt2txt</a>: a simple stand-alone program that converts OpenDocument files into text (with a minimal formatting). Its webpage claims it converts odt files only, but it aclually works on presentations (.odp) and spreadsheets (.ods) too. </li> </ul> <h2 xmlns="http://www.w3.org/1999/xhtml">diff-ing OpenDocument files</h2> <p xmlns="http://www.w3.org/1999/xhtml">odt2txt allows one to diff two opendocument files like text files. Install odt2txt and download this (trivial) shell-script and put it in your <tt>$PATH</tt> (no idea on how to run this on windows :-():</p> <ul xmlns="http://www.w3.org/1999/xhtml"> <li><a href="oodiff">oodiff</a>: a shell-script to diff OpenDocument files. It works recursively if called on directories.</li></ul> |
---|