I need PDF files to text so I can search over them in bulk from commandline. Is there some converter for Ubuntu, OBSD or similar distro?
Perhaps related post, OCR with ubuntu here.
You have a lot of options!
There's a Haskell program called
AbiWord can convert between any formats it knows from the command-line, and at least optionally has a PDF import plugin:
Yet another option is
If you combine the two Ghostscript tools,
I can actually think of a few more methods, but I'll leave it at that for now. ;)
You can use Recoll
(Ubuntu: recoll ; OpenBSD: no port, but there's one for FreeBSD.) to search inside various formatted text document types, including PDF. There's a GUI, and it builds an index automatically under the hood. It uses
Acrobat Reader (at least version 9 under Linux) has a limited multiple-file search capability (you can search in all the files in a directory).
pdftotext is likely what you are looking for: http://en.wikipedia.org/wiki/Pdftotext unless the text you want to extract is really under a graphical form, which is not that common with pdf documents.