LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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, 01:19 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 51
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, 01:34 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Just use antiword.
 
Old 04-15-2013, 01:05 PM   #3
Linuxant
LQ Newbie
 
Registered: Apr 2013
Posts: 4

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:05 AM
convert doc to pdf in command line yumener Linux - Software 4 04-28-2006 09:23 AM
command line utility to convert between formats like .doc, .sxw, .rtf and others? bigtpumped Linux - Software 1 09-12-2005 10:54 PM
database or xls doc? mifan Programming 6 09-05-2005 05:22 PM
convert .doc to .txt using C++ ckamheng Programming 2 06-21-2003 09:25 AM


All times are GMT -5. The time now is 02:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration