Differences between version 4 and predecessor to the previous major change of Odt2txt.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Friday, April 13, 2007 8:54:37 pm | by AristotlePagaltzis | Revert |
Older page: | version 3 | Last edited on Monday, February 26, 2007 11:53:24 pm | by BenStaz | Revert |
@@ -1,9 +1,5 @@
-http://www.freewisdom.org/projects/python-markdown/odt2txt.php
+[odt2txt |
http://www.freewisdom.org/projects/python-markdown/odt2txt.php] is a utility for converting [OpenOffice.org] word processor documents to plaintext files. To convert a large number of documents, use the following command:
-I found odt2txt very useful for converting .odt (open document text files that openoffice creates) to .txt
-
-If you have a huge bunch of .odt files that you want converted try this command:
-
-''
find -name '*.odt' | while read
odt; do odt2txt.py "$odt" > "${odt%.odt}.txt"; done;'
'
-
-So now my flatmates can read all the cooking recipes without installing openoffice :)
+<verbatim>
+find -name '*.odt' -print0
| xargs -r0 bash -c 'for
odt in "$@"
; do odt2txt.py "$odt" > "${odt%.odt}.txt"; done' --
+</verbatim>