CHANGEPDFSTRING(1)
πΈ 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β printCAM::PDFversion.
π 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::PDFchangepagestring.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
- nixos 26.05: perl5.42.3-CAM-PDF 1.60
- nixpkgs unstable: perl5.42.3-CAM-PDF 1.60
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms