john john - 7 months ago 25
Linux Question

How can I recursively find all files in current and subfolders based on wildcard matching?

How can I recursively find all files in current and subfolders based on wildcard matching?

Answer

Use find for that:

find . -name "foo*"

find needs a starting point, and the . (dot) points to the current directory.