LEELA(1)

πŸ“¦ version 12.fe7a35a, in nixos 26.05, nixpkgs unstable

πŸ’– LEELA(1) β€” your PDF bestie from the General Commands Manual πŸ’–

okay so bestie, welcome to LEELA(1), straight outta the General Commands Manual. This is the CLI frontend for the poppler-glib library of PDF functions, and it’s giving main character energy for all your PDF chaos. ✨


✨ NAME ✨

LEELA β€” CLI frontend for the poppler-glib library of PDF functions. periodt. πŸ’…

🌸 SYNOPSIS 🌸

leela [<options>] <command> [<pages>] <filename> [<opt|outfile>]

πŸ¦‹ DESCRIPTION πŸ¦‹

Leela is literally trying to give you complete access to the poppler library of pdf functions. You can split or join PDFs, extract metadata, view annotations, or modify or delete action scripts. She’s in active development, so new features will be added regularly β€” she’s growing, your honor πŸ˜­πŸ‘‘

πŸŽ€ OPTIONS πŸŽ€

  • -vN β€” specify a pdf version number. not yet implemented, so don’t come for her πŸ’€

πŸ‘‘ COMMANDS πŸ‘‘

  • annotations β€” extract annotations from the input file and write to stdout or outfile. show me the lore 🫢
  • append β€” append the filename to the outfile. join era fr fr.
  • data β€” print out file metadata. possibilities for opt include title, author, subject, keywords, creator, producer, created, and modified. if no opt is provided, the complete unparsed XML metadata will be printed. raw metadata vibes ✨
  • help β€” print out a brief help/usage message. when in doubt, ask for help bestie.
  • pages β€” extract given page, or pages, from a PDF. if the page rage is not specified this function will return the page count of the provided file. yes β€œpage rage” 😭 it means page range.
  • text β€” print the text content of a PDF. text extraction slay.

🌈 PAGES 🌈

Pages may optionally be specified. With no page range specified, the command acts on the full document. Page ranges are specified as a list of numbers between square brackets all separated by spaces. Shell functions can be used to produce ranges, e.g. [ {1..6} ]. bracket magic iykyk 🧚

πŸ”₯ EXAMPLES πŸ”₯

Print out annotations found on pages 4 and 5 of filename.pdf:

leela annotations [ 4 5 ] filename.pdf

Join pages from two pdfs by appending page 3 of one.pdf on to the end of another.pdf:

leela append 3 one.pdf another.pdf

πŸ’œ SEE ALSO πŸ’œ

See github page at https://github.com/TrilbyWhite/Leela.git for further information and the most up-to-date version. Sumbit (yes, that’s the original spelling 😭) bug reports on the github page. github is the source of truth, bestie.


okay that’s the whole page πŸ’– this was LEELA(1) from the General Commands Manual, version/page tag LEELA(1), and there’s no date line in the footer, so consider this your cute sign-off: no date listed, just vibes and the manual name. slay 🫢✨

πŸ“¦ where this page comes from