How to convert html to odt or doc using linux command line?
hi everybody
I need to convert a lot of html files to text formats (odt,doc ...) using command line because i need to use shell script to convert all my files in one time. thanks in advance |
openoffice/libreoffice include batch-conversion ability.
Code:
libreoffice --headless --convert-to odt *.html There are more options for converting to regular text. html2text, for example. Search your distro's repositories. |
Hey zoghbi,
To convert to odt it's pretty easy after installing pandoc. Quote:
Quote:
|
thanks very much David the H, and Satyaveer Arya
the two method works well, pandoc convert with a best quality directly to .doc or .docx |
Hello zoghbi,
If you found our posts helpful, please don't forget to give your feedback and reputation.... |
of course Satyaveer Arya, thanks million times,
|
All times are GMT -5. The time now is 11:39 AM. |