标签:rgs ble argument pre 大小 目录 类型 code man
find . -maxdepth 1 -type f |xargs du -sh -c
# 查找当前目录下文件类型为file的文件并统计大小,限制在首层目录
du参数说明:
-s, --summarize
display only a total for each argument
-h, --human-readable
print sizes in human readable format (e.g., 1K 234M 2G)
-c, --total
produce a grand total
标签:rgs ble argument pre 大小 目录 类型 code man
原文地址:https://blog.51cto.com/xiaozhenkai/2560770