Docu review done: Wed 25 Oct 2023 05:56:16 PM CEST

PDF

Table of Content

Convert to PDF

Picutres

$ convert ./source/picturefile.png -auto-orient ./output.pdf

Modify PDF

Combine multible pdfs to one

pdfunite

pdfunite is part of the apt package poppler-utils and can be used to combine multible pdf files into one.

$ pdfunite in-1.pdf in-2.pdf in-n.pdf out.pdf

Split one pdf to multible

pdfseparate

To split a pdf into several files, you can use the command pdfseparate like this:

$ pdfseparate -f <first page to extract> -l <last page to extract> <in-file> <out-file>

Which can look like this in real-live:

$ pdfseparate -f 1 -l 1 ./bill_2022_06_09.pdf ./bill_2022_06_09_1stpage.pdf

This will only extract the first page from ./bill_2022_06_09.pdf to ./bill_2022_06_09_1stpage.pdf.