Answers:
您正在寻找-d
or -depth
选项
-depth Always true; same as the -d option.
-d Cause find to perform a depth-first traversal, i.e., directories
are visited in post-order and all entries in a directory will be
acted on before the directory itself. By default, find visits
directories in pre-order, i.e., before their contents. Note, the
default is not a breadth-first traversal.
注意-depth
,如果添加数字,它会改变含义。