Forrest logo
back to context overview

mutool

List of commands for mutool:

  • mutool:ai:eda20 how do i convert pdf to xml with mutool
    $ mutool convert -o output.xml input.pdf
    try on your machine
    explain this command
  • mutool:ai:f60d7 how do i get xml out of mutool
    $ mutool extract ${input_pdf} ${output_xml}
    try on your machine
    explain this command
  • mutool:tldr:1b291 mutool: Query information about all content embedded in a PDF.
    $ mutool info ${path-to-input-pdf}
    try on your machine
    explain this command
  • mutool:tldr:28cc9 mutool: Concatenate multiple PDF files.
    $ mutool merge -o ${path-to-output-pdf} ${path-to-input1-pdf path-to-input2-pdf ---}
    try on your machine
    explain this command
  • mutool:tldr:37946 mutool: Print the outline (table of contents) of a PDF.
    $ mutool show ${path-to-input-pdf} outline
    try on your machine
    explain this command
  • mutool:tldr:58534 mutool: Extract all images, fonts and resources embedded in a PDF out into the current directory.
    $ mutool extract ${path-to-input-pdf}
    try on your machine
    explain this command
  • mutool:tldr:c8481 mutool: Convert pages 2, 3 and 5 of a PDF into text in the standard output.
    $ mutool draw -F ${txt} ${path-to-input-pdf} ${2,3,5}
    try on your machine
    explain this command
  • mutool:tldr:ef941 mutool: Convert pages 1-10 into 10 PNGs (Note: `%nd` in the output placeholder must be replaced with a print modifier like `%d` or `%2d`).
    $ mutool convert -o ${path-to-output%nd-png} ${path-to-input-pdf} ${1-10}
    try on your machine
    explain this command
back to context overview