linux下批量删除指定后缀的文件
find . -name “*.php” -exec rm -v {} \;
如果太多,手动确认不来,可以把命令改成:
find . -name “*.php” -exec rm -fv {} \;