pdfinfo: Find Out PDF File Information From A UNIX / Linux Shell Prompt
The pdfinfo command can be used in a UNIX / Linux shell prompt to display various information about a PDF file. Here are the steps to use pdfinfo:
- Open a terminal window and navigate to the directory containing the PDF file you want to inspect.
- Run the following command, replacing "filename.pdf" with the name of the PDF file you want to inspect:
pdfinfo filename.pdf - Press Enter to execute the command. The
pdfinfocommand will display a summary of information about the PDF file, including the following:- Title
- Author
- Creator
- Producer
- Creation date
- Modification date
- Page count
- Page size
- File size
Title: Example PDF Document Author: John Doe Creator: Microsoft Word 2013 Producer: Microsoft Word 2013 CreationDate: Mon May 17 14:36:44 2021 ModDate: Mon May 17 14:36:44 2021 Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 3 Encrypted: no Page size: 612 x 792 pts (letter) File size: 47827 bytes Optimized: no PDF version: 1.5
pdfinfo command to quickly obtain information about a PDF file from the command line.