查找:

find . -name "*.o" -exec ls {} \;

删除:

find . -name "*.o" -exec rm -f {} \;