Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have this rss page with a lot of links to .pdf files.

The thing is to search for certain strings inside those. pdfs, without the need to open them one by one, and do the search for each one, because they do are a lot!

Does anyone knows a way we may have to search inside those pdfs?

Any ideas? Any browser extension ? Any RSS feed that allows this ?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You can always use Google.

filetype:pdf site:http://xyz.com/abc <your keyword(s) here> would do the job for you. You just need to find the common domain in the PDFs. By that I mean that if there are two PDFs on the page that are located at http://xyz.com/abc/1.pdf and http://xyz.com/abc/2.pdf then you can use site:http://xyz.com/abc. Only site:http://xyz.com would work too, but would bring you all the PDFs that it finds on the website.

So you want to be specific.

share|improve this answer
    
This will of course work only if search engines have been allowed to index those files. –  Karan May 30 '13 at 23:25
    
@Karan I am pretty sure that is the case here. –  Parth Kohli May 31 '13 at 2:02
    
Might be the case here perhaps (I didn't bother to verify), but my comment was of course an addendum to your answer since people other than the OP will be reading it later and in their case things might be different and so they can't always use Google. –  Karan May 31 '13 at 2:06
    
Doesn't return any results. Here's the site in question with the exact command used: filetype:pdf site:http://dre.pt/sug/notificacoes/rss.asp?id=212 Guarda Braga Guarda and Braga being the keywords. –  MEM May 31 '13 at 16:53
    
OK, then either it is not allowed to index those files, or these keywords are not there in the files. Try filetype:pdf site:http://dre.pt Guarda Braga –  Parth Kohli May 31 '13 at 17:01

download the files first, then search

find /path -name '*.pdf' -ls -exec pdftotext {} - \; | grep "your query"

share|improve this answer
    
Thanks. I didn't intend to download them each time I do a search. But that command is indeed nice. :) –  MEM May 31 '13 at 17:08

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.