You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would be the drawback of including the directory usage and file count in the json file for directory?
I think this would allow us to run jq filter and produce the above output
Yes, apologies, I didn't mean to imply the output should look the same as the du example, just the desired equivalent outcome.
Putting into the json output and using jq to filter/sort was what I was envisioning as well, sorry if didn't make that clear.
Possible caveat that maybe need to indicate a directory vs a file.
I guess you could filter on elements that contain an "items" count value.
I was hoping the output -o json would do this, but that feature appears more to save the state, to be fed back into gdu at a later time interactively.
I was hoping for the equiv of du --max-depth flag
with possible improvement of output in json format,
eg:
The text was updated successfully, but these errors were encountered: