grep -l "innercontent" --include="*filepattern*" ./* | xargs cp -t destdir
grep文件名,内容,然后复制到文件夹中
最新推荐文章于 2024-05-05 04:32:21 发布
grep -l "innercontent" --include="*filepattern*" ./* | xargs cp -t destdir