mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
597 B
Plaintext
22 lines
597 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pdf-parser
|
|
|
|
> Identify fundamental elements of a PDF file without rendering it.
|
|
> More information: <https://blog.didierstevens.com/programs/pdf-tools/>.
|
|
|
|
- Display statistics for a PDF file:
|
|
|
|
`pdf-parser {{[-a|--stats]}} {{path/to/file.pdf}}`
|
|
|
|
- Display objects of a specific type (`/Font`, `/URI`, ...) in a PDF file:
|
|
|
|
`pdf-parser {{[-t|--type]}} {{/object_type}} {{path/to/file.pdf}}`
|
|
|
|
- Search for strings in indirect objects:
|
|
|
|
`pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}`
|