xargs 是给命令传递参数的一个过滤器,也是组合多个命令的一个工具。一般是和管道一起使用。
1、 -0 将 \0 作为定界符
find . -type f -name "*.log" -print0 | xargs -0 rm -f