以PHP后缀为例

cd /www/wwwroot/aiden
find . -name "*.php" -type f -print -exec rm -rf {} \;