1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
2 .TH DU "1" "October 2003" "du (coreutils) 5.0" FSF
4 du \- estimate file space usage
7 [\fIOPTION\fR]... [\fIFILE\fR]...
9 .\" Add any additional description here
11 Summarize disk usage of each FILE, recursively for directories.
13 Mandatory arguments to long options are mandatory for short options too.
15 \fB\-a\fR, \fB\-\-all\fR
16 write counts for all files, not just directories
18 \fB\-\-apparent\-size\fR
19 print apparent sizes, rather than disk usage; although
20 the apparent size is usually smaller, it may be
21 larger due to holes in (`sparse') files, internal
22 fragmentation, indirect blocks, and the like
24 \fB\-B\fR, \fB\-\-block\-size\fR=\fISIZE\fR use SIZE-byte blocks
26 \fB\-b\fR, \fB\-\-bytes\fR
27 equivalent to `--apparent-size \fB\-\-block\-size\fR=\fI1\fR'
29 \fB\-c\fR, \fB\-\-total\fR
32 \fB\-D\fR, \fB\-\-dereference\-args\fR
33 dereference FILEs that are symbolic links
35 \fB\-h\fR, \fB\-\-human\-readable\fR
36 print sizes in human readable format (e.g., 1K 234M 2G)
38 \fB\-H\fR, \fB\-\-si\fR
39 likewise, but use powers of 1000 not 1024
42 like \fB\-\-block\-size\fR=\fI1K\fR
44 \fB\-l\fR, \fB\-\-count\-links\fR
45 count sizes many times if hard linked
47 \fB\-L\fR, \fB\-\-dereference\fR
48 dereference all symbolic links
50 \fB\-S\fR, \fB\-\-separate\-dirs\fR
51 do not include size of subdirectories
53 \fB\-s\fR, \fB\-\-summarize\fR
54 display only a total for each argument
56 \fB\-x\fR, \fB\-\-one\-file\-system\fR
57 skip directories on different filesystems
59 \fB\-X\fR FILE, \fB\-\-exclude\-from\fR=\fIFILE\fR
60 Exclude files that match any pattern in FILE.
62 \fB\-\-exclude\fR=\fIPATTERN\fR Exclude files that match PATTERN.
64 \fB\-\-max\-depth\fR=\fIN\fR
65 print the total for a directory (or file, with \fB\-\-all\fR)
66 only if it is N or fewer levels below the command
67 line argument; \fB\-\-max\-depth\fR=\fI0\fR is the same as
71 display this help and exit
74 output version information and exit
76 SIZE may be (or may be an integer optionally followed by) one of following:
77 kB 1000, K 1024, MB 1,000,000, M 1,048,576, and so on for G, T, P, E, Z, Y.
79 PATTERN is a shell pattern (not a regular expression). The pattern
81 matches any one character, whereas
83 matches any string (composed of zero, one or multiple characters). For
86 will match any files whose names end in
88 Therefore, the command
92 will skip all files and subdirectories ending in
98 Written by Torbjorn Granlund, David MacKenzie, Larry McVoy, Paul Eggert, and Jim Meyering.
100 Report bugs to <bug-coreutils@gnu.org>.
102 Copyright \(co 2003 Free Software Foundation, Inc.
104 This is free software; see the source for copying conditions. There is NO
105 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
107 The full documentation for
109 is maintained as a Texinfo manual. If the
113 programs are properly installed at your site, the command
117 should give you access to the complete manual.