#pdf #split #delete-pages #merge-pdf

app pdf_cli

A pdf split,delete,merge cli

10 releases (2 stable)

1.0.1 Oct 8, 2022
1.0.0 Aug 29, 2022
0.1.8 Aug 17, 2022
0.1.6 Jul 10, 2022

#59 in #split

MIT license

15KB
263 lines

pdf_cli is a pdf split,delete,merge cli

Crates.io Rust license

Examples:

pdf_cli -f ./demo.pdf delete --pages [1,2] => delete 1,2 pages
pdf_cli -f ./demo.pdf merge --path ./demo_1.pdf => merge the two pdfs create merged.pdf
pdf_cli -f ./demo.pdf split --num 2 => split pdf at page 2 and and create 1..=2 pages to splited.pdf ,3.. pages to demo.pdf

Install

cargo install pdf_cli

Dependencies

~19MB
~229K SLoC