dust icon indicating copy to clipboard operation
dust copied to clipboard

#321: display the size of a file or directory in "kilobytes"

Open TYzzt opened this issue 2 years ago • 5 comments

added -k parameter to display the size of a file or directory in "kilobytes"

TYzzt avatar Apr 10 '23 02:04 TYzzt

hi, @bootandy, could you please help me review the code

TYzzt avatar Apr 10 '23 02:04 TYzzt

your code looks good.

bootandy avatar May 05 '23 19:05 bootandy

I think the code you have written is sensible. But I'm just not sure that we need to cover this usecase.

bootandy avatar May 05 '23 19:05 bootandy

thank you~ The kilobyte formatting is very useful in scenarios where higher precision is required. This is also the requirement that my work encounters.

TYzzt avatar May 06 '23 10:05 TYzzt

I would also like this, as well as bytes (aka the non human-readable version of du). I'll fork @TYzzt's branch :).

keenahn avatar Jan 04 '24 01:01 keenahn

https://github.com/bootandy/dust/pull/372

Commits from this PR moved to the above PR

bootandy avatar Feb 21 '24 22:02 bootandy