liunx 统计文件夹下文件个数
摘要:
当前文件夹下所有文件个数: ls -l | grep "^-"| wc -l 当前文件夹下目录个数: ls -l | grep "^d"| wc -l 当前文件夹下文件以及子目录文件个数:ls -lR | grep "^-"| wc -l 当前文件夹下目录以及子文件夹下目录个数:ls -lR | g 阅读全文
posted @ 2019-08-29 10:24 Helianthus720 阅读(136) 评论(0) 推荐(0) 编辑