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.

djvused -e n file.djvu

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.