dust icon indicating copy to clipboard operation
dust copied to clipboard

Add flag to only display directories

Open jrwrigh opened this issue 3 years ago • 1 comments

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.

jrwrigh avatar Sep 04 '22 22:09 jrwrigh

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

bootandy avatar Sep 05 '22 07:09 bootandy