0

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 ?

2 Answers 2

3

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.

7
  • This will of course work only if search engines have been allowed to index those files.
    – Karan
    May 30, 2013 at 23:25
  • @Karan I am pretty sure that is the case here.
    – P.K.
    May 31, 2013 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, 2013 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, 2013 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
    – P.K.
    May 31, 2013 at 17:01
0

download the files first, then search

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

1
  • Thanks. I didn't intend to download them each time I do a search. But that command is indeed nice. :)
    – MEM
    May 31, 2013 at 17:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .