SYNTAX

       dusort [ -f delim ] [ -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 fields:  the disk usage value
       in the first field of the line and  the  pathname  in  the
       last  field  of  the line.  There may be additional fields
       between these two; they will be ignored.  By default,  the
       fields are delimited by whitespace.

       The following options are available.

       -f delim    Changes the field delimiter.  The field delim­
                   iter will be a sequence of one or more of  the
                   characters specified by the delim argument.

       -t threshold
                   Only  those  entries whose disk usage meets or
                   exceeds the threshold are displayed,  and  all
                   others  are  discarded.  Normally, all entries
                   are printed.


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
       <chip@unicom.com>

       Copyright  1990-1997,  Unicom  Systems  Development.   All
       rights reserved.



                                                        DUSORT(1)