mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #570] dust shows IEC values with SI prefixes #244
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Zorbatron on GitHub (Apr 14, 2026).
Original GitHub issue: https://github.com/bootandy/dust/issues/570
The manual shows these options for
--output-format:sibk-tforKiB-TiB(IEC)kb-tbforKB-TB(SI)To me, this implies that it defaults to SI prefixes, and the output using
MorGsuggests the same. However the reported sizes are actually using IEC prefixes and are "larger" when specifying-o si.Testing with these files:
ezashows the correct units:Whereas
dustdoesn't differentiate between SI and IEC:(Idk why
dustreads a wrong size for the SI files,eza, GNUls, and GNUdudon't do this)When printing the sizes with IEC prefixes, it should be
Ki/Mi/Gi/Ti. The man page should also mention that it defaults to IEC prefixes.