LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-13-2008, 01:31 AM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 386

Rep: Reputation: 30
cmmand line to convert pdf to text


I have a lot of of pdf files that needed to convert to text?
Is there any command line tool or library that I can use for this purpose?

I also looking for a command line tool to retrieve the first sentence from each pdf files.

Does anyone know any tool that can do that?
 
Old 09-13-2008, 01:48 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by ufmale View Post
I have a lot of of pdf files that needed to convert to text?
Is there any command line tool or library that I can use for this purpose?
poppler includes a command line tool called "pdftotext". Aternatively, you can use pdf2ps+ps2ascii.

Quote:
I also looking for a command line tool to retrieve the first sentence from each pdf files.

Does anyone know any tool that can do that?
Once you have a plain text file you can use the command "head" for that.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Line endings of text files mikesjays Linux - Newbie 5 04-07-2008 11:43 PM
convert doc to pdf in command line yumener Linux - Software 4 04-28-2006 09:23 AM
Convert .chm to .pdf or text? Randux Slackware 10 03-12-2006 07:30 PM
Convert pdf to html or txt or remaster the pdf? jago25_98 Linux - Software 1 12-13-2005 02:11 AM
command line text to pdf conversion waskelton4 Linux - Software 4 02-14-2005 06:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:30 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