[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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