
PDF tooling for Go and the command line.
View the Project on GitHub pdfcpu/pdfcpu
This command prints a list of annotations by type for selected pages.
Have a look at some examples.
pdfcpu annotations list inFile [flags]
| name | description | required |
|---|---|---|
| json | output JSON | no |
| p(ages) | selected pages | no |
| name | description | required |
|---|---|---|
| inFile | PDF input file, use - to read from stdin | yes |
List all annotations of test.pdf:
$ pdfcpu annotations list test.pdf
4 annotations available
Page 3:
Link:
obj# rect id content
==================================================
539 (230, 610, 365, 625) https://www.abc.com/
538 (271, 637, 326, 693) https://www.def.com/
Page 4:
Link:
obj# rect id content
========================================
563 ( 70, 354, 197, 377) (internal)
575 ( 70, 634, 120, 657) (internal)
List annotations for a streamed PDF:
$ aws s3 cp s3://acme-redaction/review.pdf - \
| pdfcpu annotations list -