Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.
/ ncdu-diff Public archive

ncdu fork that can compare and diff results

License

Notifications You must be signed in to change notification settings

lilydjwg/ncdu-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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