---
name: "podofocountpages"
section: "1"
platform: "linux"
package: "podofo-tools"
version: "0.10.6-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://carta.tech/man/podofocountpages"
---

# podofocountpages(1)

count the number of pages in a pdf file

## NAME

podofocountpages - count the number of pages in a pdf file

## SYNOPSIS

**podofocountpages**  \[-s\] \[-t\] file1.pdf ...

## DESCRIPTION

**podofocountpages** is one of the command line tools from the PoDoFo library that provide several useful operations to work with PDF files. It counts the pages in a PDF file.

## OPTIONS

- **-s**

  enable the short format, which omits printing of the filename to the output

- **-t**

  print the total number of pages

## SEE ALSO

[**podofobox**(1)](/man/podofobox/1.md), [**podofocolor**(1)](/man/podofocolor/1.md), [**podofocrop**(1)](/man/podofocrop/1.md), [**podofoencrypt**(1)](/man/podofoencrypt/1.md), [**podofogc**(1)](/man/podofogc/1.md), [**podofoimg2pdf**(1)](/man/podofoimg2pdf/1.md), [**podofoimgextract**(1)](/man/podofoimgextract/1.md), [**podofoimpose**(1)](/man/podofoimpose/1.md), [**podofoincrementalupdates**(1)](/man/podofoincrementalupdates/1.md), [**podofomerge**(1)](/man/podofomerge/1.md), [**podofopages**(1)](/man/podofopages/1.md), [**podofopdfinfo**(1)](/man/podofopdfinfo/1.md), [**podofotxt2pdf**(1)](/man/podofotxt2pdf/1.md), [**podofotxtextract**(1)](/man/podofotxtextract/1.md), [**podofouncompress**(1)](/man/podofouncompress/1.md), [**podofoxmp**(1)](/man/podofoxmp/1.md)

## AUTHOR

PoDoFo is written by Dominik Seichter \<domseichter@web.de\> and others.

This manual page was written by Oleksandr Moskalenko \<malex@debian.org\> for the Debian Project (but may be used by others).
