2012-01-27 11:35:24 +01:00
|
|
|
'\" Copyright (C) 1998-2012 Free Software Foundation, Inc.
|
2006-08-17 19:58:17 +00:00
|
|
|
'\"
|
|
|
|
|
'\" This is free software. You may redistribute copies of it under the terms
|
|
|
|
|
'\" of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
|
|
|
|
|
'\" There is NO WARRANTY, to the extent permitted by law.
|
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
|
2008-12-17 10:41:34 +00:00
|
|
|
.B du --exclude=\(aq*.o\(aq
|
2002-07-10 10:06:39 +00:00
|
|
|
.PP
|
|
|
|
|
will skip all files and subdirectories ending in
|
|
|
|
|
.BR .o
|
|
|
|
|
(including the file
|
|
|
|
|
.BR .o
|
|
|
|
|
itself).
|