On Fri, Dec 31, 2010 at 11:19 PM, Nilesh Govindarajan <[email protected]>wrote:

> On Dec 31, 10:37 pm, Narendra Sisodiya <[email protected]>
> wrote:
> > Do anybody know any command or trick to get total pages inside a pdf file
> ?
> >
>
> pdfinfo -meta <pdf-file>
>
>
Thanks  a lot,

AA=$(pdfinfo -meta MyPdfFile.pdf  | grep Pages | cut -f2 -d":")
echo $AA

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to