-
Notifications
You must be signed in to change notification settings - Fork 167
Description
The option to toggle the display of the number of items in a directory is already available in the TUI by pressing c
, but the items column is always hidden by default. There's no CLI option to show that column in the TUI and in non-interactive and export output modes, and also no way to set that in the gdu.yaml
config file.
Describe the solution you'd like
Allow a CLI option, such as --show-counts
/-C
, and corresponding config file setting show-counts: true
to enable showing the number of items column by default (in JSON output, include explicit items
property instead of merely checking array length).
An even better enhancement would be separating "number of items" values into distinct "number of files" and "number of subdirectories" counts (in JSON output, include files
and subdirs
properties instead of items
for directory objects).