du is a console program that calculates disk usage, with an aim towards finding
out what is taking up the most space. It shows the amount of space used by a
directory and its subdirectories, sorted with the biggest items first.

To use the program, execute it from a console window. The usage is as follows:

du [minSize [directory [sort]]]

where minSize specifies the size threshold below which results will not be
shown. The default is 1 byte, which will show the disk usage of the starting
directory and all of its subdirectories, if they're not empty. The format is a
number followed by an optional suffix, which can be "b", "k", "kb", "m", "mb",
"g", or "gb". For instance, "2mb" specifies a threshold of 2 megabytes.

directory specifies the starting directory. The default is the current
directory.

sort is a value that determines how the entries will be sorted, either by total
size (i.e. the size of the directory and all its subdirectories) or by its own
size (excluding subdirectories). The default is to sort by total size. To
specify sorting by directories' own sizes, use "own" as the sort argument.

du tries to limit its output to the width of the console window, to avoid
wrapping lines. If directory names are too long, they will be shortened. To see
the full names, enlarge your console window. (You may need to right-click the
title bar and choose "Properties".)

Examples:

> du
Shows the disk usage of the current directory and all subdirectories.

> du 10m
Shows the disk usage of the current directory and all subdirectories, whose
total size is at least 10 megabytes.

> du 100k c:\foo
Shows the disk usage of the c:\foo directory, but hiding entries smaller than
100 kilobytes.

> du 0.5m . own
Shows the disk usage of the current directory, showing items at least one half
megabyte in size, sorted by their own sizes rather than their total sizes.
