mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
535 B
Plaintext
22 lines
535 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pdfinfo
|
|
|
|
> Portable Document Format (PDF) file information viewer.
|
|
> More information: <https://www.xpdfreader.com/pdfinfo-man.html>.
|
|
|
|
- Print PDF file information:
|
|
|
|
`pdfinfo {{path/to/file.pdf}}`
|
|
|
|
- Specify user password for PDF file to bypass security restrictions:
|
|
|
|
`pdfinfo -upw {{password}} {{path/to/file.pdf}}`
|
|
|
|
- Specify owner password for PDF file to bypass security restrictions:
|
|
|
|
`pdfinfo -opw {{password}} {{path/to/file.pdf}}`
|