One Quickie


Extracting PDF text on the cheap (Random->Hacks)
Sometimes you need the text from a PDF, and copy-pasting from Preview isn't terribly reliable. If you really just need text and no formatting, Spotlight can help you out:
% /usr/bin/mdimport -d2  ../Book.pdf >& oopack.txt
And edit out the little bit of extra metadata output.



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com