ncdu-diff
ncdu-diff copied to clipboard
ncdu fork that can compare and diff results
ncdu fork that can compare and diff results
NOTICE
Please use gdu (which doesn't need to be patched) and gdu-diff to accomplish the same tasks.
Compile and Install
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.
Usage
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