]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Add a brief description of --exclude.
authorJim Meyering <jim@meyering.net>
Wed, 10 Jul 2002 10:06:39 +0000 (10:06 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 10 Jul 2002 10:06:39 +0000 (10:06 +0000)
man/du.x

index b44239eb66c2d354069c04bbf057f8c4640565ae..8eeedaef702aaefbdbe085d4a8eb32e719860f9c 100644 (file)
--- 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).