2018-03-23 17:44:15 +00:00
|
|
|
# pdfjoin
|
|
|
|
|
2021-06-07 20:44:02 +01:00
|
|
|
> PDF merging utility based on pdfjam.
|
|
|
|
> More information: <https://github.com/rrthomas/pdfjam-extras>.
|
2018-03-23 17:44:15 +00:00
|
|
|
|
2021-06-07 20:44:02 +01:00
|
|
|
- Merge two PDFs into one with the default suffix "joined":
|
2018-03-23 17:44:15 +00:00
|
|
|
|
2021-06-07 20:44:02 +01:00
|
|
|
`pdfjoin {{path/to/file1.pdf}} {{path/to/file2.pdf}}`
|
2018-03-23 17:44:15 +00:00
|
|
|
|
2021-06-07 20:44:02 +01:00
|
|
|
- Merge the first page of each given file together:
|
2018-03-23 17:44:15 +00:00
|
|
|
|
2021-06-07 20:44:02 +01:00
|
|
|
`pdfjoin {{path/to/file1.pdf path/to/file2.pdf ...}} {{1}} --outfile {{output_file}}`
|
2018-03-23 17:44:15 +00:00
|
|
|
|
2021-06-07 20:44:02 +01:00
|
|
|
- Save pages 3 to 5 followed by page 1 to a new PDF with custom suffix:
|
2018-03-23 17:44:15 +00:00
|
|
|
|
2021-06-07 20:44:02 +01:00
|
|
|
`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}}`
|