[vox-tech] Getting document name from inside a PDF

Bill Kendrick vox-tech@lists.lugod.org
Mon, 14 Apr 2003 15:29:02 -0700


On Mon, Apr 14, 2003 at 01:26:12PM -0400, Mike Simons wrote:
> On Sun, Apr 13, 2003 at 10:39:18PM -0700, Bill Kendrick wrote:
> > Do PDFs somehow store a 'document name' inside them?
> 
> msimons@salomon:~/taxes$ 
>   for l in *.pdf; do
>     echo $l; pdfinfo $l | grep -E '(Title|Subject)'; echo;
>   done

Nice!  If that's available on the webserver I'm writing the application on,
I'll use it.  Otherwise, I'll have to stick to my "strings | grep", since
those tools _are_ installed. ;^)

Thanks again!

-bill!