-
-
Notifications
You must be signed in to change notification settings - Fork 41
feat: add --aggregate flag to allow "du -sh *"-usage #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Thank you for working on this.
I think we should at least perform some benchmarks. It's easy to imagine that this will result in a performance regression for some workloads. |
|
Alright, so I found the time to benchmark this. Thanks for your instructions in the README. Made my life a lot easier!
|
before this was triggered when piping into files, but also in pipes in general, which makes things like "grep" difficult
Hey,
I found this rather old discussion here and wanted to provide here a solution. Since most people (including me) seem to rather look for a replacement of
du -sh *instead of implicitly aggregating those, I added a functionality, which makes this behavior configurable. The default behavior now considers all provided path-arguments independently.I did not dive into optimizing the workload across different workers, so paths are just worked on sequentially, but while doing so, parallelized.