PDFInfo: to modify some fields of the Info dictionary in PDF files

by Fabrizio Pivari

version 1.1 1997/11/28

PDFInfo is a PERL script that permits you to modify some fields of the Info dictionary in PDF files. At the moment, the fields are: /Author /Creator /CreationDate /ModDate /Producer
It should work with PERL 4.x and 5.x.

Source Code
You can also find the source code at CPAN authors/Fabrizio_Pivari/

This is the syntax

usage:
        pdfinfo [-options ...] PDF_files

where options include:
    -author                      change the original /Author() field with the
                                 specified in configuration file
    -creator                     change the original /Creator() field with the
                                 specified in configuration file
    -datecreation                change the original /CreationDate() field with
                                 the specified in configuration file
    -moddate                     change the original /ModDate() field with the
                                 specified in configuration file
    -producer                    change the original /Producer() field with the
                                 specified in configuration file
    -help                        print out this message
    -verbose                     verbose
    -filecfg file                use the file like configuration file
                                 (default pdfinfo.cfg)

PDF_files:
    with files you can use metacharacters and relative and absolute path name

example:
    pdfinfo *.pdf
    pdfinfo -h
    pdfinfo -a -p -v */*.pdf

What's new with version 1.1: