summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-07-10 10:06:39 +0000
committerJim Meyering <jim@meyering.net>2002-07-10 10:06:39 +0000
commiteb8c474088b575633fe56883f263e58f4fed2f02 (patch)
treea9dda914b0320e5abec91bbb2101f763811554dc
parent290867cc4a1b6f2b1f7f08d4a8d3e6df6a3ef4e4 (diff)
downloadcoreutils-eb8c474088b575633fe56883f263e58f4fed2f02.tar.xz
Add a brief description of --exclude.
-rw-r--r--man/du.x19
1 files changed, 19 insertions, 0 deletions
diff --git a/man/du.x b/man/du.x
index b44239eb6..8eeedaef7 100644
--- a/man/du.x
+++ b/man/du.x
@@ -2,3 +2,22 @@
du \- estimate file space usage
[DESCRIPTION]
.\" Add any additional description here
+[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).