Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-22-2010, 05:30 AM   #1
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 57
Command line / console based app. to FIND text recurrences into PDF files ?


Is there some command line / console based app. to FIND text recurrences into PDF files ?


findintopdf  /home -iname "*linuxisseekingpdfoccurrence*"
Old 05-22-2010, 08:33 AM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,250

Rep: Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231Reputation: 1231
Something like this perhaps?
find . -name "*.pdf" -print0 | xargs -0 -I FILENAME bash -c "if { pdftotext FILENAME - | grep -q linuxisseekingpdfoccurrence; } ; then echo FILENAME; fi"


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
join 2 text files based on first number present in every line of the 2 text files markraem Linux - Software 4 01-25-2010 06:26 AM
HTML to PDF Command Line App Luvz2Fly Linux - Software 1 12-03-2008 03:14 PM
command line text to pdf conversion waskelton4 Linux - Software 4 02-14-2005 05:38 PM
Command line tools to Find files with specific text naps Linux - Software 5 11-15-2004 04:46 AM
How to find the command line to launch app ScreeminChikin Linux - General 2 09-18-2002 11:39 PM

All times are GMT -5. The time now is 03:00 AM.

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