Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:linux-cli-mergepdf [2023/09/12 09:23] Zyzonixtutorials:linux-cli-mergepdf [2024/10/01 18:32] (current) – [Rotate PDF] Zyzonix
Line 7: Line 7:
 **1st. option:** **1st. option:**
 Therefore install the package ''poppler-utils''. Therefore install the package ''poppler-utils''.
-<code bash>sudo apt insall poppler-utils</code>+<code bash>sudo apt install poppler-utils</code>
  
-The use ''pdfunite'':+Then use ''pdfunite'':
 <code bash>pdfunite <inputfile-1> <inputfile-2> [<inputfile-x>] <final-file></code> <code bash>pdfunite <inputfile-1> <inputfile-2> [<inputfile-x>] <final-file></code>
  
Line 31: Line 31:
 <code bash>pdftk <inputfile-1> cat 1west end output <final-file></code> <code bash>pdftk <inputfile-1> cat 1west end output <final-file></code>
  
-By replacing e.g. ''1east'' with other cardinal directions, it is also possible to change a page for 180°.+By replacing e.g. ''1east'' with other cardinal directions, it is also possible to change a page by 180°. 
 + 
 +==== Delete page from PDF ==== 
 + 
 +It is also easy to delete the last page from a PDF via CLI. Therefore also install ''pdftk'' from the upper section. 
 + 
 +→ Then use this command to delete the **last** page: 
 +<code bash>pdftk <inputfile-1> cat 1-r2 output <final-file></code> 
  
  • tutorials/linux-cli-mergepdf.1694503420.txt.gz
  • Last modified: 2023/09/12 09:23
  • by Zyzonix