DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+2 =
Submit