Skip to content

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

Closed
TYzzt wants to merge 3 commits into
bootandy:masterfrom
TYzzt:issues/#321
Closed

#321: display the size of a file or directory in "kilobytes"#322
TYzzt wants to merge 3 commits into
bootandy:masterfrom
TYzzt:issues/#321

Conversation

@TYzzt
Copy link
Copy Markdown
Contributor

@TYzzt TYzzt commented Apr 10, 2023

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

@TYzzt TYzzt changed the title feat: display the size of a file or directory in "kilobytes" #321: display the size of a file or directory in "kilobytes" Apr 10, 2023
@TYzzt
Copy link
Copy Markdown
Contributor Author

TYzzt commented Apr 10, 2023

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

@bootandy
Copy link
Copy Markdown
Owner

bootandy commented May 5, 2023

your code looks good.

@bootandy
Copy link
Copy Markdown
Owner

bootandy commented May 5, 2023

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

@TYzzt
Copy link
Copy Markdown
Contributor Author

TYzzt commented May 6, 2023

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

@keenahn
Copy link
Copy Markdown

keenahn commented Jan 4, 2024

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

@bootandy
Copy link
Copy Markdown
Owner

#372

Commits from this PR moved to the above PR

@bootandy bootandy closed this Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants