Module Name:    othersrc
Committed By:   agc
Date:           Wed Apr  2 04:38:22 UTC 2014

Update of /cvsroot/othersrc/external/bsd/dust
In directory ivanova.netbsd.org:/tmp/cvs-serv5253

Log Message:
Initial import of dust(1) into the othersrc/external/bsd/dust repo.

dust(1) is a small shell script which orders humanised du(1) output in
size order.

A long time ago, Jeff Rizzo prodded me into writing this shell script,
dust, which does a humanised du(1) listing, then sorts the output into
size order, smallest to largest.

The -r argument to dust reverses the output, placing the largest files
first, and smallest last.

Some months later, and Jeff assures me that it's useful (I'd forgotten
I wrote it), so much so that he has come up with fixes for files with
spaces in their names. Thanks, Jeff, much appreciated!

Sample usage:

        % dust .
        4.0K ./bin
        18K ./dist
        26K .
        % dust dist/*
        4.0K dist/dust.sh
        12K dist/dust.1
        %

However, it's probably easier to show a more useful, every day use of dust:

        % dust /e/pkgsrc | tail -10
        2.6G /e/pkgsrc/pkgsrc
        3.2G /e/pkgsrc/repo/src/gnu/dist
        3.5G /e/pkgsrc/repo/src/gnu
        6.8G /e/pkgsrc/src/.git/objects/pack
        6.8G /e/pkgsrc/src/.git/objects
        6.8G /e/pkgsrc/src/.git
        6.8G /e/pkgsrc/src
        9.8G /e/pkgsrc/repo/src
        11G /e/pkgsrc/repo
        32G /e/pkgsrc
        %

Once again, my thanks to riz.

Status:

Vendor Tag:     CROOKS
Release Tags:   dust-base
                
N othersrc/external/bsd/dust/Makefile
N othersrc/external/bsd/dust/dist/dust.sh
N othersrc/external/bsd/dust/dist/dust.1
N othersrc/external/bsd/dust/bin/Makefile

No conflicts created by this import

Reply via email to