I'm using cURL in ubuntu to download some files like
While some files may be missing from this sequence but when I just use
curl -O http://foo.bar/pic[001-999].jpg
cURL will download a 404 error page for those missing ones. How can I avoid this?