Category Archives: Bash

How do I download many pdf’s a webpage at once ?

A combo of curl and regular expression, e.g.

Ross Andersons “Security Engineering” is avalaible online under CC here but you must download each chapter as a seperate pdf, this is can the fixed using:

$ curl http://www.cl.cam.ac.uk/~rja14/Papers/SEv2-(toc|pref|acks|c[01-27]|biblio|index).pdf