Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example, see this page Advanced Linux Programming.

I want to download all the pdf files linked from this page. Is there a simple commandline way of doing it?

Something on the lines of

download *.pdf Downloads/
share|improve this question
up vote 0 down vote accepted

Have a look at wget

That site specifically says: "Do not use a download accelerator to download these files." so don't!

share|improve this answer
wget isn't really an accelerator, though (at least I think not), it's a plain old HTTP client, like a browser. – David Z Aug 29 '10 at 9:39
yeah, I read that, and am not using any accelerator. It doesn't matter if I use a browser or command line, does it? – Lazer Aug 29 '10 at 10:21
well its upto you but the site also has a robots.txt that says no robots so you will need to use the -e robots=off option to disable robots.txt if you do – Adam Butler Aug 29 '10 at 11:27
Lazer: By download accelerator, most people mean a program that starts multiple connections in parallel, usually to download separate chunks of the same file. This puts an extra burden on the server (and rarely speeds up the download since the N pieces come in at 1/N speed each). wget and curl are not download accelerators (unless used in an elaborate way) since they download files sequentially. – Gilles Aug 29 '10 at 19:07

You could use curl and wget, also check both man pages to see all the handy arguments you could use.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .