"Maciej W. Rozycki" <[EMAIL PROTECTED]> writes: > On Mon, 22 Apr 2002, Jamie Zawinski wrote: > >> I know this would be somewhat evil, but can we have a special case in >> wget to assume that files named "?N=D" and "index.html?N=D" are the same >> as "index.html"? I'm tired of those dumb apache sorting directives >> showing up in my mirrors as if they were real files... > > How about using the "-R" option of wget? A brief test proves "-R > '*\?[A-Z]=[A-Z]'" works as it should.
Or maybe the default system wgetrc should ship with something like: reject = *?[A-Z]=[A-Z] Adding new reject patterns will correctly append to this. If the user wanted to nullify that in his `.wgetrc', he'd need to set `reject' to empty string.