Command du 统计大小区别。

2019-11-25 18:38:14 +08:00
 lxk11153
> fd -HI . image2|wc -l
217773
> du -ks image2
3818440 # kilobytes
> fd -HI . image2|wc -l
  217773
> gdu -ks image2
3587536	image2 # kilobytes
> gdu -ks --apparent-size image2
3382593	image2 # kilobytes
print apparent sizes, rather than disk usage; although the apparent size is usually smaller, it may be larger due to holes in (`sparse') files, internal fragmentation, indirect blocks, and the like
872 次点击
所在节点    问与答
2 条回复
noobsheldon
2019-11-25 19:29:57 +08:00
lxk11153
2019-11-27 14:20:04 +08:00
@noobsheldon #1 那问题 1 呢

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/623013

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX