On Mon, 07 Jan 2013, Wesley Parish wrote:
> Does anyone know if there is any command-line utility to parse PDF
> files for file info? Things like wordcount, no of pages, etc? ......

> Wesley Parish
 
You need to mix commands to get get the info you want.

For word count;

ps2ascii my.pdf |wc -w

For page count;

pdfinfo my.pdf |grep -i pages

Cheers Ross Drummond

_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to