I thought the glob pattern:
would represent every folder and file starting with dot (
.) or not, but it skips directories in the current directory that start with
What is the glob pattern that means:
every file and folder that may or may not start with
.on the current and deeper folders
Also: How can I exclude a specific folder (or even better, a glob subpattern) from a recursive glob pattern such as the one above?
I have tried the following to exclude the folder
.hg from the current level (but include other folders starting with the
but it didn't go recursively into deeper directories.