mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 12:41:53 +00:00
22 lines
536 B
Plaintext
22 lines
536 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 --stats {{path/to/file.pdf}}`
|
|
|
|
- Display objects of type `/Font` in a PDF file:
|
|
|
|
`pdf-parser --type={{/Font}} {{path/to/file.pdf}}`
|
|
|
|
- Search for strings in indirect objects:
|
|
|
|
`pdf-parser --search={{search_string}} {{path/to/file.pdf}}`
|