1999-11-02 13:51:42 +00:00
|
|
|
[NAME]
|
|
|
|
|
du \- estimate file space usage
|
1998-09-12 20:12:55 +00:00
|
|
|
[DESCRIPTION]
|
2000-02-01 10:34:35 +00:00
|
|
|
.\" Add any additional description here
|
2002-07-10 10:06:39 +00:00
|
|
|
[PATTERNS]
|
|
|
|
|
PATTERN is a shell pattern (not a regular expression). The pattern
|
|
|
|
|
.BR ?
|
|
|
|
|
matches any one character, whereas
|
|
|
|
|
.BR *
|
|
|
|
|
matches any string (composed of zero, one or multiple characters). For
|
|
|
|
|
example,
|
|
|
|
|
.BR *.o
|
|
|
|
|
will match any files whose names end in
|
|
|
|
|
.BR .o .
|
|
|
|
|
Therefore, the command
|
|
|
|
|
.IP
|
|
|
|
|
.B du --exclude='*.o'
|
|
|
|
|
.PP
|
|
|
|
|
will skip all files and subdirectories ending in
|
|
|
|
|
.BR .o
|
|
|
|
|
(including the file
|
|
|
|
|
.BR .o
|
|
|
|
|
itself).
|