1、使用cp命令拷贝文件替换 find / -iname chen -exec cp /dev/null {} 2>&1 \; 2、使用 bash find / -iname chen | awk '{print "echo > "$0}'| bash