Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can anyone suggest a way to convert html files to word documents (.doc) in linux, via commandline?

share|improve this question
up vote 1 down vote accepted

this quiz has been posted before in the OOo forum:

I need to convert an HTML formatted document to a DOC formatted document. Is this possible via command line?

whether the answers are satisfacory, i wouldn't know.

share|improve this answer
Thanks, found link to in there, which does what I want. – theotherreceive Aug 29 '09 at 0:33
you're more than welcome. – Molly7244 Aug 29 '09 at 0:42
The link is broken – Jared Beach Apr 4 at 14:15

Libreoffice (and probably OpenOffice) can do this.

libreoffice --headless --convert-to doc FILENAME.html

For more details:

man libreoffice
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .