find . -name '*.jsp' -type f -print -exec rm -rf {} \; 在当前目录下找到jsp文件并删除。 转载于:https://www.cnblogs.com/wardensky/p/6856451.html