There's two meaning of wildcards in paths for file collections.
*is a simple, non-recursive wildcard representing zero or more characters which you can use for paths and file names.**is a recursive wildcard which can only be used with paths, not file names.
For examples,
/var/log/**will match all files in/var/logand all files in all child directories, recursively./var/log/**/*.logwill match all files whose names end in.login/var/logand all files in all child directories, recursively./home/*/.bashrcwill match all.bashrcfiles in all user'shomedirectories./home/*/.ssh/**/*.keywill match all files ending in.keyin all user's.sshdirectories in all user'shomedirectories.
👍