gdu
gdu copied to clipboard
Customized export
When exporting analysis to JSON, gdu could accept a new option, which will specify what attributes will be populated.
gdu --output-file=out.json --output-attrs=asize,dsize
Available attributes: name (should be always present), asize, dsize, mtime, notreg
Originally posted by @daniejstriata in https://github.com/dundee/gdu/issues/91#issuecomment-940386521