Ok here's what worked: wget -P dir -r -R 'index.html*' -R '..' -nH -np --cut-dirs 3https://site.org/X/Y/ZCan 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?
Re: Rejecting 'index.html*' files causes recursion to include parent-directories
Carl Ponder via Primary discussion list for GNU Wget Wed, 16 Aug 2023 03:55:00 -0700
- Rejecting 'index.html... Carl Ponder via Primary discussion list for GNU Wget
- Re: Rejecting 'i... Carl Ponder via Primary discussion list for GNU Wget