[Nottingham] Downloading multiple images from a website

Robert Hart enxrah at nottingham.ac.uk
Thu Jun 2 17:21:33 BST 2005


On Thu, 2005-06-02 at 15:43 +0100, Michael Quaintance wrote:

> The curl example given earlier was much cleaner, though. It worked
> successfully but where the "seq 0 999" and wget win is that curl doesn't
> recognise a 404 response and so I have a large number of files named
> ???.jpg whose contents are actually the html of the site's 404 page.

rm `file ???.jpg | grep HTML | sed "s/:.*//"`


-- 
Robert Hart <enxrah at nottingham.ac.uk>
University of Nottingham


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list