Evert Meulie schrieb:
I'm using wget to mirror (part of) a site. This site contains a couple
of directories which do not have a index.html in them, just a bunch of
various files. When wget hits this dir, it creates:
index.html
index.html?C=M;O=A
index.html?C=M;O=D
index.html?C=N;O=A
index.html?C=N;O=D
index.html?C=S;O=A
index.html?C=S;O=D
It seems your server is configured to send a directory listing if no
index.html is found.
By the looks of it the listing is sortable (Modified/Name/Size
Ascending/Descending).
How do I prefer wget from doing so? I'm currently using the following:
wget -np -nH --cut-dirs=3 --mirror
http://some.domain.com/folder/folder/folder/folder
If you want to get the files in this directory, I think you have to live
with them.
Otherwise it should suffice to use --exclude to exclude the directory.
Regards TT