mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #231] How can I ignore file sizes that are smaller than 100k #103
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 @avatar-lavventura on GitHub (Jul 31, 2022).
Original GitHub issue: https://github.com/bootandy/dust/issues/231
I was wondering is it possible to ignore file sizes that are smaller than 100k.
For example I dont want to see following files since they are
4.0K@bootandy commented on GitHub (Aug 8, 2022):
There isn't currently an option to do that. I'm not keen on adding it because what about if you had a lot of 4K files that added up to more than 100K should they be included then ?
Consider
root/subdir1/inside subdir1 we have a lot of 4K files:@avatar-lavventura commented on GitHub (Aug 8, 2022):
Here they don't have any space as a first line, example output:
I was considering it for the depth=1 folders ignoring small file sizes
@bootandy commented on GitHub (Aug 8, 2022):
i think you are the second person to ask for a min-size option, so I'll think about how that could work.
@avatar-lavventura commented on GitHub (Aug 8, 2022):
Ah sorry for asking options. I just wanted something compact as possible I can manage what I want with additional
sed:-) Overalldustis pretty nice@bootandy commented on GitHub (Aug 23, 2022):
https://github.com/bootandy/dust/pull/252