Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-09-2014, 08:16 PM
|
#1
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Rep:
|
Looking for a string in a set of PDF files.
Hi: Is it possible (I mean, not too complicated).
|
|
|
03-09-2014, 08:39 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,834
|
You can install and use pdfgrep. I just tested it. For Debian, it's in the repos. There doesn't seem to be a SlackBuild, but it's on sourceforge: http://pdfgrep.sourceforge.net/
|
|
2 members found this post helpful.
|
03-09-2014, 09:22 PM
|
#3
|
Member
Registered: May 2010
Posts: 621
Rep: 
|
Also, you could use pdfunite to make them one big PDF.
|
|
|
03-09-2014, 10:34 PM
|
#4
|
Senior Member
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442
Original Poster
Rep:
|
Quote:
Originally Posted by frankbell
You can install and use pdfgrep. I just tested it. For Debian, it's in the repos. There doesn't seem to be a SlackBuild, but it's on sourceforge: http://pdfgrep.sourceforge.net/
|
Thank you very much. A pity it can't be used for PDFs that are photographic copies, but neither can the PDF reader.
|
|
|
03-09-2014, 11:03 PM
|
#5
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,849
|
i have submitted pdfgrep SlackBuild in SBo and waiting for approval
|
|
3 members found this post helpful.
|
03-10-2014, 11:43 AM
|
#6
|
Senior Member
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982
|
Quote:
Originally Posted by stf92
Thank you very much. A pity it can't be used for PDFs that are photographic copies, but neither can the PDF reader.
|
You would probably need to use an OCR program on it, hope that it works well enough to get words without misspellings (unlikely), and then grep them.
|
|
|
03-10-2014, 12:41 PM
|
#7
|
Member
Registered: Feb 2013
Posts: 427
Rep: 
|
You can use also pdftotext which is already in slackware, and then grep.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 07:02 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|