dundee / gdu

Fast disk usage analyzer with console interface written in Go
MIT License
3.98k stars 144 forks source link

Read standard du report #116

Open Liz4v opened 2 years ago

Liz4v commented 2 years ago

We don't really have the means to ensure all our servers contain gdu; and the last thing I want to do when they're full is adding more files. They do always have du though, and it's easy to generate a du report without writing any files in the server. It would be very useful to be able to read du reports with gdu.

rwahyudi commented 2 years ago

gdu can read ncdu output. See : https://github.com/dundee/gdu/discussions/59

Liz4v commented 2 years ago

I do not mean ncdu. I mean GNU Disk Usage, from GNU coreutils. This one.

du . | gdu -f- shows this error message: "Error reading file: invalid character '.' after top-level value"