[ILUG] pdf document info, ls date format and awk commands

Niall O Broin niall at magicgoeshere.com
Tue Jan 15 14:31:34 GMT 2002


On Tue, Jan 15, 2002 at 01:53:09PM -0000, Declan Grady wrote:

> 1. How can I get the date format to show 11-Jan-2002 instead of 11-Jan-14:10 ?

man date - the date command allows you to easily manipulate its output. This
will however somewhat complicate your little script. You could also change
your awk to output the hardcoded year if the year/time field contained a
colon.

> 2. How can I *easily* get the "description" from the pdf "document info"
from each pdf file ? 


Pass - America 6 :-) I'm guessing that there must be a 'pdfinfo' program
around ? Typing  pdf extract info  into google produces some interesting
looking links.


> 3. How *should* I have gone about achieving this, considering I'm no programmer ?

Pay a programmer, or learn to do it yourself ? You've chosen the latter
route, and it really wasn't too hard, was it ?


Niall




More information about the ILUG mailing list