2012/02/2
wget
This is a useful reference. It seems wget can do recursive downloads while cURL cannot:
You want to download all the GIFs from an HTTP directory. `wget http://host/dir/*.gif’ doesn’t work, since HTTP retrieval does not support globbing. In that case, use:
wget -r -l1 –no-parent -A.gif http://host/dir/
It is a bit of a kludge, but it works.
`-r -l1′ means to retrieve recursively (See section Recursive Retrieval), with maximum depth of 1.
`–no-parent’ means that references to the parent directory are ignored (See section Directory-Based Limits), and
`-A.gif’ means to download only the GIF files. `-A “*.gif”‘ would have worked too.