8 ms·
I've always thought of PDF as an opaque format. How do you search and/or browse your collection? Does the subject show up in grep [e: without being diligent wit
by lcampbell 7y ago
I've always thought of PDF as an opaque format. How do you search and/or browse your collection? Does the subject show up in grep [e: without being diligent with filenames]?
- lloydatkinson 7y agoI'd be interesting in knowing this too. It sounds like a good idea.
- mrspuratic 7y agoI (*nix user) use a script that basically does: pdftotext -layout -eol unix -nopgbrk $PDF | egrep ... Many PDFs have compressed content streams, plain text utilities only see metadata in that case. Cached, compressed text-only output is usually tiny, and can be zgrep-ed. pdfinfo shows document metadata (title, subject, keywords and more), but it's quite uncommon for these to be useful (Adobe and LᴬTᴇX-sourced PDFs tend to have this data). Both come with xpdf.
- mxuribe 7y agoThis great; thanks for sharing!