globstar
Globstar is a feature of the Bash shell that enables recursive pathname expansion using the double asterisk pattern, **. When the Bash option globstar is enabled (for example, by running shopt -s globstar), patterns containing ** will recursively match files and directories across the entire path, not just the immediate directory.
With globstar enabled, ** matches zero or more directories. A common usage is to list or operate
Dotfiles and hidden paths require additional options. By default, Bash globbing does not match filenames that
Compatibility and scope. Globstar is a Bash feature introduced in Bash 4.0. It is not part of
Related considerations. Other globbing options that affect behavior include nullglob (allow pattern expansions to yield nothing