I'm running wget version 1.20.3 (and earlier) using this command-line
wget -P dir -r -nH -np --cut-dirs 3 https://svn.site.org/X/Y/Z
to retrieve the contents of the remote-directory "Z" into local
directory "dir".
This works fine except that i also get files "index.html" in all the
sub-di
Ok here's what worked:
wget -P dir -r -R 'index.html*' -R '..' -nH -np --cut-dirs
3https://site.org/X/Y/Z
Can anyone tell me why the behavior was happening in the first place,
though? That excluding "index,html" would cause recursion in the
parent-directories, when it had been disabled?