>This is what I get when a just change the arcdir:
I have no idea what line you changed, since there are several places in the script you could have done that, or what you changed it to, as your question is fairly vague.
However, I set up the necessary directory structure, and tested the script, and had no problems with it searching multiple directories.
For instance, I used a glob (i.e. * ) to pick more than one directory on line 11:
arcDir="${HOME}/../../tmp/a/*/b"
Works as expected, and searched through multiple directories.
My guess is you changed line 11 from:
arcDir="${HOME}/archive/qresearch/res"
to:
arcDir="/bread/qresearch/.zfs/snapshot/*/qresearch/res"
but the archive is in your home directory, not root directory???
If so, line 11 should be:
arcDir="${HOME}/bread/qresearch/.zfs/snapshot/*/qresearch/res"
which would specify the correct path.
Otherwise check you really do have any html files in those directories.