pdfinfo

Portable Document Format (PDF) file information viewer. More information: <https://www.xpdfreader.com/pdfinfo-man.html>.

Install

All systems
curl cmd.cat/pdfinfo.sh
Debian Debian
apt-get install poppler-utils
Ubuntu
apt-get install poppler-utils
Alpine
apk add poppler
Arch Arch Linux
pacman -S poppler
image/svg+xml Kali Linux
apt-get install poppler-utils
CentOS
yum install poppler-utils
Fedora
dnf install poppler-utils
Windows (WSL2)
sudo apt-get update sudo apt-get install poppler-utils
OS X
brew install poppler
Raspbian
apt-get install poppler-utils
Docker
docker run cmd.cat/pdfinfo pdfinfo powered by Commando

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

© tl;dr; authors and contributors