cp: actually support --update=none-fail
[coreutils.git] / man / du.x
blobff2c41da72251612294e37408adc2b24446a46e1
1 '\" Copyright (C) 1998-2024 Free Software Foundation, Inc.
2 '\"
3 '\" This is free software.  You may redistribute copies of it under the terms
4 '\" of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
5 '\" There is NO WARRANTY, to the extent permitted by law.
6 [NAME]
7 du \- estimate file space usage
8 [DESCRIPTION]
9 .\" Add any additional description here
10 [PATTERNS]
11 PATTERN is a shell pattern (not a regular expression).  The pattern
12 .B ?\&
13 matches any one character, whereas
14 .B *
15 matches any string (composed of zero, one or multiple characters).  For
16 example,
17 .B *.o
18 will match any files whose names end in
19 .BR .o .
20 Therefore, the command
21 .IP
22 .B du \-\-exclude=\(aq*.o\(aq
23 .PP
24 will skip all files and subdirectories ending in
25 .B .o
26 (including the file
27 .B .o
28 itself).