LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2007, 12:19 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Cmd line to convert .doc and .xls to .txt ?


Hi, I would like to Cmd line to convert .doc and .xls to .txt with ms-dos formatting.
thanks for the trick
 
Old 10-19-2007, 12:34 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Just use antiword.
 
Old 04-15-2013, 12:05 PM   #3
Linuxant
LQ Newbie
 
Registered: Apr 2013
Distribution: Slackware
Posts: 19

Rep: Reputation: Disabled
catdoc, antiword

for doc
You can use:
catdoc or antiword as follows
catdoc file.doc > file
antiword.doc > file

for docx you can use docx2txt
for pdf you can use pdf2txt or emacs
e.g. open emacs using the following command emacs file.pdf
emacs automatically shows a text version, save it by the following command
ctrl-x ctrl-s file
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cmd line prog to convert mp3 samplerate kmasaryk Linux - Desktop 4 11-25-2006 12:05 AM
convert doc to pdf in command line yumener Linux - Software 4 04-28-2006 08:23 AM
command line utility to convert between formats like .doc, .sxw, .rtf and others? bigtpumped Linux - Software 1 09-12-2005 09:54 PM
database or xls doc? mifan Programming 6 09-05-2005 04:22 PM
convert .doc to .txt using C++ ckamheng Programming 2 06-21-2003 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration