Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

count the pages of multiple pdf files in linux

for i in *.pdf; do pdfinfo "$i" | grep "^Pages:"; done | awk '{s+=$2} END {print s}'
Source by superuser.com #
 
PREVIOUS NEXT
Tagged: #count #pages #multiple #pdf #files #linux
ADD COMMENT
Topic
Name
5+2 =