Current (before the "Creators" update) version is Ubuntu 14.04, which only has 
xpdf v3.03.  Xpdf latest version is v3.04, so you may want to wait for the 
"Creators" update to try again.  Or try the Windows binary directly from the 
foolabs site.

My guess is that John M. is probably running the latest Linux version of the 
xpdf tool.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Dyck, Lionel B. (TRA)
Sent: Monday, May 01, 2017 2:00 PM
To: [email protected]
Subject: Re: [EXTERNAL] Re: Manual Naming for Local use [WAS: Issue with 
SK4T-4949-13 - IBM Online Library....]

Tried it on Windows 10 bash shell and got a LOT of 'invalid argument' messages 
on the ln command - but not on all.

Example:

ln: failed to create symbolic link 
‘zOS_V2R2.0_Communications_Server:_IP_Diagnosis_Guide.pdf’: Invalid argument
ln: failed to create symbolic link 
‘zOS_V2R2.0_Communications_Server:_SNA_Messages.pdf’: Invalid argument
ln: failed to create symbolic link 
‘zOS_V2R2.0_Communications_Server:_IP_Messages_Volume_1_(EZA).pdf’: Invalid 
argument
ln: failed to create symbolic link 
‘zOS_V2R2.0_Communications_Server:_IP_Messages_Volume_2_(EZB,_EZD).pdf’: 
Invalid argument


--------------------------------------------------------------------------
Lionel B. Dyck 
Mainframe Systems Programmer - TRA
Enterprise Operations (Station 200) (005OP6.3.10)
Information and Technology, IT Operations and Services

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of John McKown
Sent: Monday, May 01, 2017 12:12 PM
To: [email protected]
Subject: [EXTERNAL] Re: Manual Naming for Local use [WAS: Issue with 
SK4T-4949-13 - IBM Online Library....]

<Snipped>

​How I do it on Linux is to use the "pdfinfo" program. Example:

[tsh009@it-johnmckown-linux Documents]$ pdfinfo dz9zr010.pdf
Title:          z/Architecture Principles of Operation
Subject:        z/Architecture
Keywords:
Author:         IBM Corporation
Creator:        FrameMaker 10.0.2
Producer:       Acrobat Distiller 10.1.13 (Windows)
CreationDate:   Thu Feb 19 17:32:41 2015 CST
ModDate:        Thu Feb 19 17:32:41 2015 CST
Tagged:         no
UserProperties: no
Suspects:       no
Form:           AcroForm
JavaScript:     no
Pages:          1732
Encrypted:      no
Page size:      612 x 792 pts (letter)
Page rot:       0
File size:      15180376 bytes
Optimized:      yes
PDF version:    1.6


​So

for i in *.pdf;do ln -s "${i}" $(pdfinfo "${i}" | awk '$1=="Title:" {print 
$0;}' | sed -r 's/^Title: *//;s|/||g;s/ +/_/g;').pdf;done

--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


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

Reply via email to