du

version: 0.0.9
du [OPTIONS] [--]

estimate file space usage

Options

--help

Print help information

--version, -V

Print version information

--all, -a

write counts for all files, not just directories

--apparent-size

print apparent sizes, rather than disk 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

--block-size=<SIZE>, -B <SIZE>

scale sizes by SIZE before printing them. E.g., '-BM' prints sizes in units of 1,048,576 bytes. See SIZE format below.

--bytes, -b

equivalent to '--apparent-size --block-size=1'

--total, -c

produce a grand total

--max-depth=<N>, -d <N>

print the total for a directory (or file, with --all) only if it is N or fewer levels below the command line argument; --max-depth=0 is the same as --summarize

--human-readable, -h

print sizes in human readable format (e.g., 1K 234M 2G)

--inodes

list inode usage information instead of block usage like --block-size=1K

-k

like --block-size=1K

--count-links, -l

count sizes many times if hard linked

--dereference, -L

dereference all symbolic links

-m

like --block-size=1M

--null, -0

end each output line with 0 byte rather than newline

--separate-dirs, -S

do not include size of subdirectories

--summarize, -s

display only a total for each argument

--si

like -h, but use powers of 1000 not 1024

--one-file-system, -x

skip directories on different file systems

--threshold=<SIZE>, -t <SIZE>

exclude entries smaller than SIZE if positive, or entries greater than SIZE if negative

--time=<WORD>

show time of the last modification of any file in the directory, or any of its subdirectories. If WORD is given, show time as WORD instead of modification time: atime, access, use, ctime, status, birth or creation

--time-style=<STYLE>

show times using style STYLE: full-iso, long-iso, iso, +FORMAT FORMAT is interpreted like 'date'