-maxdepth int 限制查询的子目录层级
find -L . -maxdepth 1 -name ‘*.jar‘ -printf ‘%p:‘
find只查当前目录
原文:https://www.cnblogs.com/chenzechao/p/10431759.html