tree

-P 通配符过滤

tree PATH -P "*.sh"