4 ms·
If you don't have the globstar optional behavior enabled in bash this won't work. From the manual: If set, the pattern ‘*’ used in a filename expansion contex
by epr 5y ago
If you don't have the globstar optional behavior enabled in bash this won't work.
From the manual:
If set, the pattern ‘*’ used in a filename expansion context will match all files and zero or more directories and subdirectories. If the pattern is followed by a ‘/’, only directories and subdirectories match.
To enable:
$ shopt -s globstar
To disable:
$ shopt -u globstar