DU(1) DU(1) du - du []... []... du []... --files0-from=F -0, --null NUL -a, --all --apparent-size print apparent sizes rather than device usage; although the apparent size is usually smaller, it may be larger due to holes in ('sparse') files, internal fragmentation, indirect blocks, and the like -B, --block-size= '-BM' 1,048,576 "SIZE " -b, --bytes '--apparent-size --block-size=1' -c, --total -D, --dereference-args -d, --max-depth=N --all N --max-depth=0 --summarize --files0-from=F F NUL F "-" -H --dereference-args-D -h, --human-readable 1K 234M 2G --inodes inode -k --block-size=1K -L, --dereference -l, --count-links -m --block-size=1M -P, --no-dereference -S, --separate-dirs --si -h 1000 1024 -s, --summarize -t, --threshold= --time --time= atime, access, use, ctime status --time-style= full-iso, long-iso, iso +FORMATFORMAT 'date' -X, --exclude-from= --exclude= -x, --one-file-system --help --version --block-size DU_BLOCK_SIZEBLOCK_SIZE BLOCKSIZE 1024 POSIXLY_CORRECT 512 10K 10*1024 KMGTPEZY1024 KBMB...1000 KiB=KMiB=M PATTERNS PATTERN is a shell pattern (not a regular expression). The pattern ? matches any one character, whereas * matches any string (composed of zero, one or multiple characters). For example, *.o will match any files whose names end in .o. Therefore, the command du --exclude='*.o' will skip all files and subdirectories ending in .o (including the file .o itself). Torbjorn GranlundDavid MacKenziePaul Eggert Jim Meyering GNU coreutils Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . info '(coreutils) du invocation' man man https://github.com/man-pages-zh/manpages- zh GNU coreutils 9.1 20229 DU(1)