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

john picture john · May 6, 2011 · Viewed 2.7M times · Source

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

Answer

tux21b picture tux21b · May 6, 2011

Use find for that:

find . -name "foo*"

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