APPENDPDF(1)

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

✨ APPENDPDF πŸ’…

ok so bestie, this is appendpdf.pl, and it lives in the User Contributed Perl Documentation section of the manual, which is honestly kind of a vibe. it's a lil Perl script that staples PDFs together, and i'm gonna walk you through it 🫢


🌸 NAME

appendpdf.pl β€” append one PDF to another. that's it, that's the whole personality. iconic.


✨ SYNOPSIS

appendpdf.pl [options] file1.pdf file2.pdf [outfile.pdf]

Options:
  -p --prepend        prepend the document instead of appending it
  -f --forms          wipe all forms and annotations from the PDF
  -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

πŸ¦‹ OPTIONS

  • -p, --prepend β€” flip the whole thing around: prepend the document instead of appending it. main character energy, but in reverse πŸ’…
  • -f, --forms β€” wipe all forms and annotations from the PDF. yes, all of them. gone. bye πŸ‘‹
  • -o, --order β€” preserve the internal PDF ordering for output. keeps things in their original little lineup πŸŽ€
  • -v, --verbose β€” print diagnostic messages, aka the script tells you what it's doing the whole time. very chatty, love that for us 🌈
  • -h, --help β€” verbose help message. when in doubt, ask 🌟
  • -V, --version β€” print the CAM::PDF version. iykyk ⭐

πŸ’– DESCRIPTION

so the whole gig: copy the contents of file2.pdf to the end of file1.pdf. no cap, that's it πŸŽ€

⚠️ okay listen, this may break complex PDFs which include forms, so the --forms option is provided to eliminate those elements from the resulting PDF. so if your PDF is the fancy type with forms everywhere, use -f and thank me later πŸ˜­πŸ™ˆ

🌈 SEE ALSO

  • CAM::PDF
  • deletepdfpage.pl

πŸ‘‘ AUTHOR

See CAM::PDF 🫢


and that's the tea, bestie πŸ’œ this lil page is from perl v5.42.3, dated 2013-08-15, so it's vintage β€” very retro, very slay, very APPENDPDF(1) βœ¨πŸŽ€πŸ’…

πŸ“¦ where this page comes from