xargs
Table of Contents

xargs

与grep 连用

删除包含搜索字段的文件夹

$ grep -l 'test' ./* | xargs rmdir