CHANGEPDFSTRING(1)

πŸ“¦ version 1.60, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the CHANGEPDFSTRING(1) manual page β€” it's giving User Contributed Perl Documentation β€” and it's all about changepdfstring.pl: Search and replace in PDF metadata. periodt. πŸ’–

✨ SYNOPSIS ✨

The whole command-line moment is:

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

Then flag-by-flag, bestie:

  • -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.

πŸ’… DESCRIPTION πŸ’…

Okay so here's the tea: this tool searches through a PDF file's metadata for instances of search-str and inserts replace-str. It does not change the actual PDF page layout β€” only interactive features, like forms and annotation. 🫢

Important caveat: to change page layout strings, use changepagestring.pl instead. This one is not for that, no cap. πŸŽ€

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

That example is literal, character-for-character. πŸ”₯

πŸ¦‹ SEE ALSO πŸ¦‹

  • CAM::PDF
  • changepagestring.pl

πŸŽ€ AUTHOR πŸŽ€

See CAM::PDF.


okay that's the whole page, bestie πŸ’– footer fairy says this one's source/version is perl v5.42.3 and the date is 2013-08-15. slay, bye πŸ’…βœ¨

πŸ“¦ where this page comes from