且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何根据通配符匹配递归查找当前文件夹和子文件夹中的所有文件?

更新时间:2021-12-16 22:04:43

使用 find为此:

find . -name "foo*"

find 需要一个起点,.(点)指向当前目录.

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