3 ms·
Using find: find . -name '*meta*' If you want to use the matching files on a command line (requires "shopt -s globstar") some_command **/*meta* The do
by pdkl95 6y ago
Using find:
find . -name '*meta*'
If you want to use the matching files on a command line (requires "shopt -s globstar")
some_command **/*meta*
The double star expands to any number of directories. You can even mix-and-match complex patterns as needed:
some_command */data/**/*meta*
# matches:
# dir_a/data/meta
# dir_b/data/foo/bar/baz/meta.txt