1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-04 09:35:23 +02:00
tldr/pages/common/pdf-parser.md

17 lines
470 B
Markdown
Raw Normal View History

2021-10-13 13:14:01 +02:00
# 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}}`
2021-10-13 13:14:01 +02:00
- Display objects of type `/Font` in a PDF file:
`pdf-parser {{[-t|--type]}} {{/Font}} {{path/to/file.pdf}}`
2021-10-13 13:14:01 +02:00
- Search for strings in indirect objects:
`pdf-parser {{[-s|--search]}} {{search_string}} {{path/to/file.pdf}}`