pdfinfo
命令手册Portable Document Format (PDF) file information viewer. More information: https://www.xpdfreader.com/pdfinfo-man.html.
pdfinfo {{path/to/file.pdf}}
pdfinfo -upw {{password}} {{path/to/file.pdf}}
pdfinfo -opw {{password}} {{path/to/file.pdf}}