Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Please add support for -B size of du #448

Open
ale5000-git opened this issue Aug 21, 2024 · 0 comments
Open

Please add support for -B size of du #448

ale5000-git opened this issue Aug 21, 2024 · 0 comments

Comments

@ale5000-git
Copy link

From du manual:

‘-B size’
‘--block-size=size’
Scale sizes by size before printing them (see [Block size](https://www.gnu.org/software/coreutils/manual/html_node/Block-size.html)). For example, -BG prints sizes in units of 1,073,741,824 bytes.

‘-b’
‘--bytes’
Equivalent to --apparent-size --block-size=1.

The -b option also apply --apparent-size, so there is currently no way to display bytes without also enable --apparent-size.
It would be nice to be able to do this:
du -s -B 1 -- folder_name

Upstream BusyBox is currently a bit silent, I wonder if this can be added directly in BusyBox for Windows.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant