> 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.

Bob

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils
  • du Daniel A. Palm
    • Re: du Matthew Schalit
    • Bob Proulx

Reply via email to