邵波散记
find /home/kevin/test -name *.txt -exec rm -f {} \;
find 是一个强大的搜索命令 -name 选项用来搜索符合条件的文件 搜到之后用-exec 选项来执行命令rm -rf {}进行删除.