forked from coreutils/coreutils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
du.x
28 lines (28 loc) · 792 Bytes
/
du.x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
'\" Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
'\"
'\" 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.
[NAME]
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).