>> pdfinfo -meta <pdf-file> example output -
Producer: ABBYY FineReader 9.0 Professional Edition CreationDate: Fri Feb 26 12:43:51 2010 ModDate: Fri Feb 26 12:43:51 2010 Tagged: no Pages: 552 Encrypted: no Page size: 841.7 x 595.45 pts File size: 7405568 bytes Optimized: yes PDF version: 1.3 > AA=$(pdfinfo -meta MyPdfFile.pdf | grep Pages | cut -f2 -d":") > echo $AA this gives only total number of pages as intended -- Mohit Singh ------------------ GLUG Meerut -- l...@iitd - http://tinyurl.com/ycueutm
