Skip to content

avigael/pdf-remove-merge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Page Remover & Merger

This is a command line tool written in Golang for merging multiple PDFs into a single PDF as well as removing specific pages from any PDF.

Build

$ git clone https://github.com/avigael/pdf-remove-merge.git
$ cd pdf-remove-merge
$ go build editpdf.go

To Merge PDFs

$ ./editpdf merge [output.pdf] [input-1.pdf input-2.pdf ...]

You can merge any number of PDFs, but a merge requires at least 2 PDFs to execute.

To Remove pages from PDF

$ ./editpdf remove [output.pdf] [input.pdf] [page-num...]

Currently you have to type the individual pages that you wish to remove, but I might add the ability to provide a range later.

Feel free to use this code in anyway you wish.

Credit to pdfcpu for the PDF processing package

About

A command line tool for merging multiple PDFs into a single PDF as well as removing specific pages from any PDF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages