5

Finding the page count of a PDF document from the CLI is as simple as:

pdfinfo file.pdf | grep ^Pages:

How can the same be performed with a djvu file? Without converting it to a pdf and then deleting the pdf file after checking the number of pages, please.

Jeff Schaller
  • 67,283
  • 35
  • 116
  • 255
Quora Feans
  • 3,866

1 Answers1

6
djvused -e n file.djvu

(from http://djvu.sourceforge.net/, djvulibre-bin package on Debian and derivatives).