GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CHANGEPDFSTRING(1) User Contributed Perl Documentation CHANGEPDFSTRING(1)

changepdfstring.pl - Search and replace in PDF metadata

 changepdfstring.pl [options] infile.pdf search-str replace-str [outfile.pdf]

 Options:
   -o --order          preserve the internal PDF ordering for output
   -v --verbose        print diagnostic messages
   -h --help           verbose help message
   -V --version        print CAM::PDF version

Searches through a PDF file's metadata for instances of "search-str" and inserts "replace-str". Note that this does not change the actual PDF page layout, but only interactive features, like forms and annotation. To change page layout strings, use instead changepagestring.pl.

The "search-str" can be a literal string, or it can be a Perl regular expression by wrapping it in "regex(...)". For example:

  changepdfstring.pl in.pdf 'regex(CAM-PDF-(\d.\d+))' 'version=$1' out.pdf

CAM::PDF

changepagestring.pl

See CAM::PDF
2013-08-15 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.