From eb8c474088b575633fe56883f263e58f4fed2f02 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 10 Jul 2002 10:06:39 +0000 Subject: Add a brief description of --exclude. --- man/du.x | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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). -- cgit v1.2.3-54-g00ecf