find

删除当前目录下所有的*.o文件:
find . -name "*.o" -exec rm -f {} ;

原文地址:https://www.cnblogs.com/greencolor/p/3793591.html