<story><title>Pdfgrep – a commandline utility to search text in PDF files</title><url>https://pdfgrep.org/</url></story><parent_chain></parent_chain><comment><author>ankrgyl</author><text>DocQuery (&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;impira&amp;#x2F;docquery&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;impira&amp;#x2F;docquery&lt;/a&gt;), a project I work on, allows you to do something similar, but search over semantic information in the PDF files (using  a large language model that is pre-trained to query business documents).&lt;p&gt;For example:&lt;p&gt;&lt;pre&gt;&lt;code&gt;  $ docquery scan &amp;quot;What is the due date?&amp;quot; &amp;#x2F;my&amp;#x2F;invoices&amp;#x2F;
  &amp;#x2F;my&amp;#x2F;invoices&amp;#x2F;Order1.pdf       What is the due date?: 4&amp;#x2F;27&amp;#x2F;2022
  &amp;#x2F;my&amp;#x2F;invoices&amp;#x2F;Order2.pdf       What is the due date?: 9&amp;#x2F;26&amp;#x2F;2022
  ...
&lt;/code&gt;&lt;/pre&gt;
It&amp;#x27;s obviously a lot slower than &amp;quot;grepping&amp;quot;, but very powerful.</text></comment>
<story><title>Pdfgrep – a commandline utility to search text in PDF files</title><url>https://pdfgrep.org/</url></story><parent_chain></parent_chain><comment><author>asicsp</author><text>See also &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;phiresky&amp;#x2F;ripgrep-all&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;phiresky&amp;#x2F;ripgrep-all&lt;/a&gt; (`ripgrep`, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.)</text></comment>