pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

Extract Portfolio Entries

This command extracts entries from a PDF portfolio. If you want to remove an extracted entry you can do this using portfolio remove. Have a look at some examples.

Usage

pdfcpu portfolio extract inFile outDir [file...]


Common Flags

name description values
v(erbose) turn on logging  
vv verbose logging  
q(uiet) quiet mode  
-o(ffline) disable http traffic  
c(onf) config dir $path, disable
opw owner password  
upw user password  
u(nit) display unit po(ints),in(ches),cm,mm


Arguments

name description required
inFile PDF input file yes
outDir output directory yes
file… one or more entries to be extracted no


Examples

Extract a specific portfolio entry from portfolio.pdf into out:

$ pdfcpu portfolio extract portfolio.pdf out sketch.pdf


Extract all portfolio entries of portfolio.pdf into out:

$ pdfcpu portfolio extract portfolio.pdf out