john john - 10 months ago 39
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.