【发布时间】:2020-12-26 13:50:33
【问题描述】:
我想知道是否可以将 find 与通配符一起使用:
我使用这个命令,但是我有一个错误
find -type f -name /target/*.zip
【问题讨论】:
-
从您的帖子中不清楚,您正在搜索什么文件。 @Barmar 建议的解决方案假定您正在寻找低于
/target的any zip 文件,即/target/foo/bar.zip,但不是/foo/target/bar.zip。这种理解正确吗?
标签: linux bash macos shell find