find . -name “*.php” -exec rm -v {} \;

如果太多,手动确认不来,可以把命令改成:

find . -name “*.php” -exec rm -fv {} \;

发表评论