1. *.png记得加引号,不加引号是一种很不好的习惯。 
find . -name *.png | xargs rm -fr
2. 方法二: 
find . -name "*.png" -exec rm -rf {} \;