PDA

View Full Version : [ubuntu] a console program to convert Word *.doc to plain text *.txt?



honeybear
October 5th, 2012, 07:29 PM
Hi,

Without using Wine, I would search a program in the repositories that can using the console (eg. xterm) to convert Word *.doc to plain text *.txt?

thank you

critin
October 5th, 2012, 08:22 PM
Hi,

Without using Wine, I would search a program in the repositories that can using the console (eg. xterm) to convert Word *.doc to plain text *.txt?

thank you

I did a quick Google for this and all seemed to have at least one problem each. It can be done if the issue is acceptable and you're knowledgeable with commands. I believe the issues were different from app to app.

If it doesn't have to be commandline, there is abiword, libre, etc that work great.

Cheesemill
October 5th, 2012, 09:20 PM
You can use LibreOffice:

soffice --headless --convert-to txt:text file_to_convert.doc

dodo3773
October 5th, 2012, 09:46 PM
Just use the catdoc program.


catdoc file.doc > newfile.txt

honeybear
October 7th, 2012, 09:20 AM
catdoc is nice one

Thank you soooo much !!

dodo3773
October 7th, 2012, 08:39 PM
catdoc is nice one

Thank you soooo much !!

You're welcome. Happy to help.

honeybear
October 8th, 2012, 06:36 AM
You're welcome. Happy to help.

Nice to hear you. I am glad you did.