Using Wget 1.10:
wget -np -p -w 2 -r -l 0 http://www.cs.odu.edu/~mln/lazy/
results in http://www.cs.odu.edu/~mln/lazy/index.html being downloaded
and saved twice. The final number of downloaded files is 1 file too many.
From the wget output:
----------------------------------------------------------------
--11:51:17-- http://www.cs.odu.edu/~mln/lazy/
=> `www.cs.odu.edu/~mln/lazy/index.html'
Resolving www.cs.odu.edu... 128.82.4.2
Connecting to www.cs.odu.edu|128.82.4.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,693 (1.7K) [text/html]
0K . 100%
47.77 MB/s
11:51:17 (47.77 MB/s) - `www.cs.odu.edu/~mln/lazy/index.html' saved
[1693/1693]
SKIP....
--11:52:27-- http://www.cs.odu.edu/~mln/lazy/index.html
=> `www.cs.odu.edu/~mln/lazy/index.html'
Reusing existing connection to www.cs.odu.edu:80.
HTTP request sent, awaiting response... 200 OK
Length: 1,693 (1.7K) [text/html]
0K . 100%
52.08 MB/s
11:52:27 (52.08 MB/s) - `www.cs.odu.edu/~mln/lazy/index.html' saved
[1693/1693]
SKIP...
FINISHED --12:13:08--
Downloaded: 29,787,514 bytes in 599 files
----------------------------------------------------------------
599 should be 598.