[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: du

From: Bob Proulx
Subject: Re: du
Date: Sun, 15 Apr 2001 15:01:24 -0600

> Maybe I'm crazy or doing something wrong, but I swear that the -S
> option in the 'du' utility doesnt do what it is supposed to. It is
> supposed to not show the subdirectories but it still does. The
> output of 'du' is the same as 'du -S' I think.

I think you are confusing the -S and -s options.

       -S, --separate-dirs
              do not include size of subdirectories
       -s, --summarize
              display only a total for each argument

I think what you are looking for is 'du -s' which won't show all of
the subdirectories but will only show you the 's'ummary for the entire
disk tree below.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]