mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 21:52:17 +00:00
Update cheatsheets
This commit is contained in:
25
pdfjoin
Normal file
25
pdfjoin
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# pdfjoin
|
||||
|
||||
> PDF merging utility based on pdfjam.
|
||||
> More information: <https://github.com/rrthomas/pdfjam-extras>.
|
||||
|
||||
- Merge two PDFs into one with the default suffix "joined":
|
||||
|
||||
`pdfjoin {{path/to/file1.pdf}} {{path/to/file2.pdf}}`
|
||||
|
||||
- Merge the first page of each given file together:
|
||||
|
||||
`pdfjoin {{path/to/file1.pdf path/to/file2.pdf ...}} {{1}} --outfile {{output_file}}`
|
||||
|
||||
- Save pages 3 to 5 followed by page 1 to a new PDF with custom suffix:
|
||||
|
||||
`pdfjoin {{path/to/file.pdf}} {{3-5,1}} --suffix {{rearranged}}`
|
||||
|
||||
- Merge page subranges from two PDFs:
|
||||
|
||||
`pdfjoin {/path/to/file1.pdf}} {{2-}} {{file2}} {{last-3}} --outfile {{output_file}}`
|
||||
Reference in New Issue
Block a user