|
Packit Service |
2723c6 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
|
|
Packit Service |
2723c6 |
.TH DU "1" "July 2018" "GNU coreutils 8.30" "User Commands"
|
|
Packit Service |
2723c6 |
.SH NAME
|
|
Packit Service |
2723c6 |
du \- estimate file space usage
|
|
Packit Service |
2723c6 |
.SH SYNOPSIS
|
|
Packit Service |
2723c6 |
.B du
|
|
Packit Service |
2723c6 |
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
|
|
Packit Service |
2723c6 |
.br
|
|
Packit Service |
2723c6 |
.B du
|
|
Packit Service |
2723c6 |
[\fI\,OPTION\/\fR]... \fI\,--files0-from=F\/\fR
|
|
Packit Service |
2723c6 |
.SH DESCRIPTION
|
|
Packit Service |
2723c6 |
.\" Add any additional description here
|
|
Packit Service |
2723c6 |
.PP
|
|
Packit Service |
2723c6 |
Summarize disk usage of the set of FILEs, recursively for directories.
|
|
Packit Service |
2723c6 |
.PP
|
|
Packit Service |
2723c6 |
Mandatory arguments to long options are mandatory for short options too.
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-0\fR, \fB\-\-null\fR
|
|
Packit Service |
2723c6 |
end each output line with NUL, not newline
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-a\fR, \fB\-\-all\fR
|
|
Packit Service |
2723c6 |
write counts for all files, not just directories
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-apparent\-size\fR
|
|
Packit Service |
2723c6 |
print apparent sizes, rather than disk usage; although
|
|
Packit Service |
2723c6 |
the apparent size is usually smaller, it may be
|
|
Packit Service |
2723c6 |
larger due to holes in ('sparse') files, internal
|
|
Packit Service |
2723c6 |
fragmentation, indirect blocks, and the like
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-B\fR, \fB\-\-block\-size\fR=\fI\,SIZE\/\fR
|
|
Packit Service |
2723c6 |
scale sizes by SIZE before printing them; e.g.,
|
|
Packit Service |
2723c6 |
\&'\-BM' prints sizes in units of 1,048,576 bytes;
|
|
Packit Service |
2723c6 |
see SIZE format below
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-b\fR, \fB\-\-bytes\fR
|
|
Packit Service |
2723c6 |
equivalent to '\-\-apparent\-size \fB\-\-block\-size\fR=\fI\,1\/\fR'
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-c\fR, \fB\-\-total\fR
|
|
Packit Service |
2723c6 |
produce a grand total
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-D\fR, \fB\-\-dereference\-args\fR
|
|
Packit Service |
2723c6 |
dereference only symlinks that are listed on the
|
|
Packit Service |
2723c6 |
command line
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-d\fR, \fB\-\-max\-depth\fR=\fI\,N\/\fR
|
|
Packit Service |
2723c6 |
print the total for a directory (or file, with \fB\-\-all\fR)
|
|
Packit Service |
2723c6 |
only if it is N or fewer levels below the command
|
|
Packit Service |
2723c6 |
line argument; \fB\-\-max\-depth\fR=\fI\,0\/\fR is the same as
|
|
Packit Service |
2723c6 |
\fB\-\-summarize\fR
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-files0\-from\fR=\fI\,F\/\fR
|
|
Packit Service |
2723c6 |
summarize disk usage of the
|
|
Packit Service |
2723c6 |
NUL\-terminated file names specified in file F;
|
|
Packit Service |
2723c6 |
if F is \-, then read names from standard input
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-H\fR
|
|
Packit Service |
2723c6 |
equivalent to \fB\-\-dereference\-args\fR (\fB\-D\fR)
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-h\fR, \fB\-\-human\-readable\fR
|
|
Packit Service |
2723c6 |
print sizes in human readable format (e.g., 1K 234M 2G)
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-inodes\fR
|
|
Packit Service |
2723c6 |
list inode usage information instead of block usage
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-k\fR
|
|
Packit Service |
2723c6 |
like \fB\-\-block\-size\fR=\fI\,1K\/\fR
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-L\fR, \fB\-\-dereference\fR
|
|
Packit Service |
2723c6 |
dereference all symbolic links
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-l\fR, \fB\-\-count\-links\fR
|
|
Packit Service |
2723c6 |
count sizes many times if hard linked
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-m\fR
|
|
Packit Service |
2723c6 |
like \fB\-\-block\-size\fR=\fI\,1M\/\fR
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-P\fR, \fB\-\-no\-dereference\fR
|
|
Packit Service |
2723c6 |
don't follow any symbolic links (this is the default)
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-S\fR, \fB\-\-separate\-dirs\fR
|
|
Packit Service |
2723c6 |
for directories do not include size of subdirectories
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-si\fR
|
|
Packit Service |
2723c6 |
like \fB\-h\fR, but use powers of 1000 not 1024
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-s\fR, \fB\-\-summarize\fR
|
|
Packit Service |
2723c6 |
display only a total for each argument
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-t\fR, \fB\-\-threshold\fR=\fI\,SIZE\/\fR
|
|
Packit Service |
2723c6 |
exclude entries smaller than SIZE if positive,
|
|
Packit Service |
2723c6 |
or entries greater than SIZE if negative
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-time\fR
|
|
Packit Service |
2723c6 |
show time of the last modification of any file in the
|
|
Packit Service |
2723c6 |
directory, or any of its subdirectories
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-time\fR=\fI\,WORD\/\fR
|
|
Packit Service |
2723c6 |
show time as WORD instead of modification time:
|
|
Packit Service |
2723c6 |
atime, access, use, ctime or status
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-time\-style\fR=\fI\,STYLE\/\fR
|
|
Packit Service |
2723c6 |
show times using STYLE, which can be:
|
|
Packit Service |
2723c6 |
full\-iso, long\-iso, iso, or +FORMAT;
|
|
Packit Service |
2723c6 |
FORMAT is interpreted like in 'date'
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-X\fR, \fB\-\-exclude\-from\fR=\fI\,FILE\/\fR
|
|
Packit Service |
2723c6 |
exclude files that match any pattern in FILE
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-exclude\fR=\fI\,PATTERN\/\fR
|
|
Packit Service |
2723c6 |
exclude files that match PATTERN
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-x\fR, \fB\-\-one\-file\-system\fR
|
|
Packit Service |
2723c6 |
skip directories on different file systems
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-help\fR
|
|
Packit Service |
2723c6 |
display this help and exit
|
|
Packit Service |
2723c6 |
.TP
|
|
Packit Service |
2723c6 |
\fB\-\-version\fR
|
|
Packit Service |
2723c6 |
output version information and exit
|
|
Packit Service |
2723c6 |
.PP
|
|
Packit Service |
2723c6 |
Display values are in units of the first available SIZE from \fB\-\-block\-size\fR,
|
|
Packit Service |
2723c6 |
and the DU_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables.
|
|
Packit Service |
2723c6 |
Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).
|
|
Packit Service |
2723c6 |
.PP
|
|
Packit Service |
2723c6 |
The SIZE argument is an integer and optional unit (example: 10K is 10*1024).
|
|
Packit Service |
2723c6 |
Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000).
|
|
Packit Service |
2723c6 |
.SH PATTERNS
|
|
Packit Service |
2723c6 |
PATTERN is a shell pattern (not a regular expression). The pattern
|
|
Packit Service |
2723c6 |
.B ?\&
|
|
Packit Service |
2723c6 |
matches any one character, whereas
|
|
Packit Service |
2723c6 |
.B *
|
|
Packit Service |
2723c6 |
matches any string (composed of zero, one or multiple characters). For
|
|
Packit Service |
2723c6 |
example,
|
|
Packit Service |
2723c6 |
.B *.o
|
|
Packit Service |
2723c6 |
will match any files whose names end in
|
|
Packit Service |
2723c6 |
.BR .o .
|
|
Packit Service |
2723c6 |
Therefore, the command
|
|
Packit Service |
2723c6 |
.IP
|
|
Packit Service |
2723c6 |
.B du \-\-exclude=\(aq*.o\(aq
|
|
Packit Service |
2723c6 |
.PP
|
|
Packit Service |
2723c6 |
will skip all files and subdirectories ending in
|
|
Packit Service |
2723c6 |
.B .o
|
|
Packit Service |
2723c6 |
(including the file
|
|
Packit Service |
2723c6 |
.B .o
|
|
Packit Service |
2723c6 |
itself).
|
|
Packit Service |
2723c6 |
.SH AUTHOR
|
|
Packit Service |
2723c6 |
Written by Torbjorn Granlund, David MacKenzie, Paul Eggert,
|
|
Packit Service |
2723c6 |
and Jim Meyering.
|
|
Packit Service |
2723c6 |
.SH "REPORTING BUGS"
|
|
Packit Service |
2723c6 |
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
|
|
Packit Service |
2723c6 |
.br
|
|
Packit Service |
2723c6 |
Report du translation bugs to <https://translationproject.org/team/>
|
|
Packit Service |
2723c6 |
.SH COPYRIGHT
|
|
Packit Service |
2723c6 |
Copyright \(co 2018 Free Software Foundation, Inc.
|
|
Packit Service |
2723c6 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
|
|
Packit Service |
2723c6 |
.br
|
|
Packit Service |
2723c6 |
This is free software: you are free to change and redistribute it.
|
|
Packit Service |
2723c6 |
There is NO WARRANTY, to the extent permitted by law.
|
|
Packit Service |
2723c6 |
.SH "SEE ALSO"
|
|
Packit Service |
2723c6 |
Full documentation at: <https://www.gnu.org/software/coreutils/du>
|
|
Packit Service |
2723c6 |
.br
|
|
Packit Service |
2723c6 |
or available locally via: info \(aq(coreutils) du invocation\(aq
|