ncdu fork that can compare and diff results
Please use gdu (which doesn't need to be patched) and gdu-diff to accomplish the same tasks.
autoreconf -i
./configure
make
make install
Copy ncdu-diff
and ncdu-diffdir
somewhere (e.g. in your $PATH
). You'll need Python to run them.
Run:
ncdu-diffdir /directory/a /directory/b
Or you can do steps manually (and optionally save intermediate results.
Export two scan results:
ncdu -o old.ncdu /some/directory
ncdu -o new.ncdu /some/directory
Generate diff:
ncdu-diff old.ncdu new.ncdu > diff.ncdu
Load and view the diff:
ncdu -f diff.ncdu