A PDF processor written in Go.
View the Project on GitHub pdfcpu/pdfcpu
This command removes previously attached files from a PDF document. Have a look at some examples.
pdfcpu attachments remove inFile [file...]
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 |
name | description | required |
---|---|---|
inFile | PDF input file | yes |
file… | one or more attachments to be removed | yes |
Remove a specific attachment from container.pdf:
$ pdfcpu attach remove container.pdf pdfcpu.zip
removing pdfcpu.zip
Remove all attachments:
$ pdfcpu attach remove container.pdf
removing all attachments