摘要: 查看子文件夹中的文件个数 find /home/test -type f -printf '%h\n' | sort | uniq -c /home/test 要查找的目录 -type 按文件类型查找 f:指普通文件 d:目录文件 -printf 打印输出 %h 文件目录 \n 新行 sort 排序 阅读全文
posted @ 2023-09-13 13:27 theSummerDay 阅读(210) 评论(0) 推荐(0) 编辑