mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #334] Could you add an option to only display total? #148
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 @ModProg on GitHub (Aug 24, 2023).
Original GitHub issue: https://github.com/bootandy/dust/issues/334
I'm basically looking for a shorthand for
--number-of-lines 0@cppxor2arr commented on GitHub (Aug 30, 2023):
You can use the
-d, --depthoption.If you want exactly
--number-of-lines=0:P.S. Running
dust -hordust --helpis helpful for questions like this.@ModProg commented on GitHub (Aug 30, 2023):
yes I knew about
-n0I was just wondering if it made sense to have an actual option for that. but maybe not,-n0is already pretty short. And--only-totalis only slightly more self explaining than--number-of-lines=0@cppxor2arr commented on GitHub (Aug 30, 2023):
Oh, I see what you mean. To me, a depth of 0 is pretty close to meaning "only display the total".
@ModProg commented on GitHub (Aug 30, 2023):
In my case only
-n0worked, because I was piping in filenames to measure the total size of all images on my disk.@bootandy commented on GitHub (Nov 7, 2023):
thanks to @cppxor2arr I'll close this.