DUSORT(1)

NAME
dusort - Sort disk usage summaries.

SYNTAX
dusort [ -t threshold ] [ file ]

DESCRIPTION

The dusort program is an output filter for du. It reads a disk usage report from file, or the standard input if no file is specified on the command line, and produces a listing to the standard output. The listing will show the contents of the directories sorted in descending order, and indented under their parent directory. The input data lines must have at least two white-space delimited fields. The first field is the disk usage and the last field is the pathname. The -t option suppresses any entries less than threshold disk blocks.

SEE ALSO
du(1L)

BUGS

A more precise explanation of what this utility does is as follows: it reads the entire du report into memory, arranges it into a tree, sorts all of the siblings in order of disk usage, and then performs a depth-first traversal to display the results.

The indentation in the report can get a little wierd if the input data was generated by running du with multiple starting directories.

AUTHOR
Chip Rosenthal
Unicom Systems Development, Inc.
<chip@chinacat.Unicom.COM>

Copyright 1990-1993, Unicom Systems Development, Inc. All rights reserved.

You are granted a non-exclusive license to use, modify, copy, and distribute this software subject to the following conditions. You must ensure all copyright notices and license notices remain intact in the copies you use or distribute. Any modifications, other than those in the areas clearly reserved for site-specific modifications, must be marked as such. This software is provided "as is". No warranties have been expressed or implied. Since this license was provided to you at no charge, you must assume the entire risk and liability for all use of this software.