shell统计目录下大小为0的文件个数

来源:互联网 发布:全景视频播放器 源码 编辑:程序博客网 时间:2024/05/16 04:36
ls -l | awk '{ if ($5 == 0) cnt++;} END { print "个数",cnt}'
原创粉丝点击