mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
1.2 KiB
1.2 KiB
PDFtk
TL;DR
# combine multiple files
pdftk file1.pdf file2.pdf file3.pdf cat output newfile.pdf
# rotate a file
pdftk file.pdf cat 1-endleft output newfile.pdf
Combine multiple files
pdftk file1.pdf file2.pdf file3.pdf cat output newfile.pdf
where:
file{1..3}.pdfare the input filecatis the operation on the filesoutputis the operation after the readnewfile.pdfis the new file with the result
Rotate a file
pdftk file.pdf cat 1-endleft output newfile.pdf
where:
file.pdfis the input filecatis the operation on the file1-endis the range of pages on which execute the rotationleftis the direction of the rotationoutputis the operation after the readnewfile.pdfis the new file with the result