[ale] HOW2 search for text in a "PDF" file ?

Joe Steele joe at madewell.com
Wed Aug 31 10:41:45 EDT 2005


On Wed, 2005-08-31 at 09:56 -0500, Courtney Thomas wrote:
> I can open the pdf files using xpdf, but what I need to do, [sorry for
> the opaque description], is to search a DIR of pdf files, printing names
> of those containing specified text.
> 

On occasion I find it useful to take a whole bunch of PDFs and convert
them into a single PDF for viewing/printing/searching:

  for i in *.pdf; do pdftops --paper match "$i" -; done > master-doc.ps

  ps2pdf13 master-doc.ps

(I prefer pdftops over pdf2ps because it doesn't convert the fonts to
bitmaps.)

--Joe




More information about the Ale mailing list