On Oct 16, 2017, at 1:39 PM, John McKown <[email protected]> wrote:
> 
> The above is why I love *IX symlinks. What would be _really_ nice, IMO,
> would be if your PDF generation process placed the ​actual document number
> & title in the PDF information title section of the pdf file. So that I
> could get it out of the "pdfinfo" program. It would make generation of the
> symlinks simple. Something like:
> 
> for i in *.pdf ; do pdfinfo "${i}" | ln -s "${i}" "$(awk '/^Title: / {print
> substr($0,17);} | sed -r 's/ *.*? *//')" ; done

Yes, please. I tried doing something like this once, but the PDF information 
sections are inconsistent or incomplete. Everything’s easier to manage when you 
have consistent, reliable metadata.

-- 
Pew, Curtis G
[email protected]
ITS Systems/Core/Administrative Services


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to