On Wed, 2018-03-14 at 08:21 +1100, Stephen Morris wrote:
What I hadn't realized until Patrick mentioned it, was the significance of the * in the path specification. I hadn't realized that with using the * not only did it cause files prefixed with a '.' to be ignored but it also causes directories prefixed with a '.' to be ignored also.
Shell name expansion is applied to the contents of a directory irrespective of what those contents mean. Thus '*' matches all directory entries except those prefixed with '.', as the Shell manual states. That applies to files, directories, sockets, devices, ...
poc