如何基于通配符匹配递归地找到当前文件夹和子文件夹中的所有文件?
问题描述:
如何基于通配符匹配以递归方式找到当前文件夹和子文件夹中的所有文件?
How can I recursively find all files in current and subfolders based on wildcard matching?
答
使用查找为此:
find . -name "foo*"
find
需要一个起点,而.
(点)指向当前目录.
find
needs a starting point, and the .
(dot) points to the current directory.