比如在当前目录下寻找pl后缀的文件,不在scripts下寻找:

find . -path './scripts' -prune -o -name '*.pl' -print

donation