[GH-ISSUE #267] Add option to not limit number of lines in the report #116

Closed
opened 2026-06-08 11:25:45 +03:00 by zhus · 2 comments
Owner

Originally created by @cgkantidis on GitHub (Sep 30, 2022).
Original GitHub issue: https://github.com/bootandy/dust/issues/267

Example usage: dust --depth 1 --number-of-lines -1

I want for example to get the size of each direct subdirectory (--depth 1), but not limit the number of lines reported.

Not sure if passing -1 to the --number-of-lines option is the best course, or if adding a new option would be preferable, but it would be a nice functionality we're missing now.

For now I resort to using --number-of-lines 1000000

Originally created by @cgkantidis on GitHub (Sep 30, 2022). Original GitHub issue: https://github.com/bootandy/dust/issues/267 Example usage: `dust --depth 1 --number-of-lines -1` I want for example to get the size of each direct subdirectory (--depth 1), but not limit the number of lines reported. Not sure if passing `-1` to the `--number-of-lines` option is the best course, or if adding a new option would be preferable, but it would be a nice functionality we're missing now. For now I resort to using `--number-of-lines 1000000`
zhus closed this issue 2026-06-08 11:25:45 +03:00
Author
Owner

@bootandy commented on GitHub (Oct 1, 2022):

just don't use number-of-lines.

dust --depth 1 should work.

<!-- gh-comment-id:1264311558 --> @bootandy commented on GitHub (Oct 1, 2022): just don't use number-of-lines. ` dust --depth 1 ` should work.
Author
Owner

@kiyoon commented on GitHub (Jun 16, 2025):

Is there a way to show all files except for doing -d 99999999?

Currently I'm using

dust -d 999999999 -f -z 1000

so it will print only the directories with more than 1000 files

<!-- gh-comment-id:2975377959 --> @kiyoon commented on GitHub (Jun 16, 2025): Is there a way to show all files except for doing `-d 99999999`? Currently I'm using ```bash dust -d 999999999 -f -z 1000 ``` so it will print only the directories with more than 1000 files
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#116