lilydjwg / ncdu-diff

ncdu fork that can compare and diff results

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

ncdu fork that can compare and diff results

License:MIT License


Languages

Language:C 93.6%Language:Shell 2.5%Language:Python 1.8%Language:M4 1.5%Language:Makefile 0.7%