Not only the recursion depth of find
can be controlled by the -maxdepth
parameter, the depth can also be limited from “top” using the corresponding -mindepth
parameter. So what one actually needs is:
find . -mindepth 1 -type d
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…