On Sun, 27 Nov 2011, Omer Zak wrote:
I need to convert several utf-8 encoded text files into MS-Word *.doc
format. So I need to accomplish it from the command line.
In Linux, it is easy to find tools to convert from MS-Word formats into
text, but a Google search failed to yield converters in the opposite
direction.
I tried two word processors: LibreOffice and AbiWord.
LibreOffice (version 1:3.4.3-3~bpo60+1 in Debian Squeeze - yes, it's a
backport) allows you to perform the conversion, but you must go through
a GUI. I did not find instructions how to accomplish this from the
command line.
Libreoffice has a headless mode, where it accepts commands from a pipe.
unoconv is a nice command line front end for this mode.
Libreoffice also has --convert-to option. Try libreoffice --help to see
all options.
--
Matan Ziv-Av. ma...@svgalib.org
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il