Skip to content
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

Add flag to only display directories #262

Closed
jrwrigh opened this issue Sep 4, 2022 · 1 comment · Fixed by #268
Closed

Add flag to only display directories #262

jrwrigh opened this issue Sep 4, 2022 · 1 comment · Fixed by #268

Comments

@jrwrigh
Copy link

jrwrigh commented Sep 4, 2022

The description of the command inclines that only directories will be displayed, but on a machine I'm using it with it displays files as well:

3.9T   ├─┴ jrwrigh                                    │                                                 █████ │   8%
  0B   │ ┌── 2085581.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085623.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085643.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085738.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085756.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085763.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085764.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085773.output                           │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085793.error                            │                                             ░░░░░░░░█ │   0%
  0B   │ ├── 2085793.output                           │                                             ░░░░░░░░█ │   0%
4.0K   │ ├── 2085581.cobaltlog                        │                                             ░░░░░░░░█ │   0%
4.0K   │ ├── 2085581.error                            │                                             ░░░░░░░░█ │   0%

I'd like to not display any files, only directories and sub directories. For my particular use-case, I can get something close using --min-size 1G since I'm looking for large directories, but it's still catching large tar balls.

@bootandy
Copy link
Owner

bootandy commented Sep 5, 2022

There is no flag to do this currently, it should be simple to add one. Consider this added to the todo list.

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

Successfully merging a pull request may close this issue.

2 participants