du.1 - sbase - suckless unix tools | |
git clone git://git.suckless.org/sbase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
du.1 (1353B) | |
--- | |
1 .Dd October 8, 2015 | |
2 .Dt DU 1 | |
3 .Os sbase | |
4 .Sh NAME | |
5 .Nm du | |
6 .Nd display disk usage statistics | |
7 .Sh SYNOPSIS | |
8 .Nm | |
9 .Op Fl a | s | |
10 .Op Fl d Ar depth | |
11 .Op Fl h | |
12 .Op Fl k | |
13 .Op Fl H | L | P | |
14 .Op Fl x | |
15 .Op Ar file ... | |
16 .Sh DESCRIPTION | |
17 .Nm | |
18 displays the file system block usage for each | |
19 .Ar file | |
20 argument and for each directory in the file hierarchy rooted in directory | |
21 argument. | |
22 If no | |
23 .Ar file | |
24 is specified, the block usage of the hierarchy rooted in the current dir… | |
25 is displayed. | |
26 .Sh OPTIONS | |
27 .Bl -tag -width Ds | |
28 .It Fl a | |
29 Display an entry for each file in the file hierarchy. | |
30 .It Fl s | |
31 Display only the grand total for the specified files. | |
32 .It Fl d Ar depth | |
33 Maximum directory depth to print files and directories. | |
34 .It Fl h | |
35 Enable human-readable output. | |
36 .It Fl k | |
37 By default all sizes are reported in 512-byte block counts. | |
38 The | |
39 .Fl k | |
40 option causes the numbers to be reported in kilobyte counts. | |
41 .It Fl H | |
42 Only dereference symbolic links that are passed as command line argument… | |
43 recursively traversing directories. | |
44 .It Fl L | |
45 Always dereference symbolic links while recursively traversing directori… | |
46 .It Fl P | |
47 Don't dereference symbolic links. | |
48 This is the default. | |
49 .It Fl x | |
50 Do not traverse file systems mount points. | |
51 .El | |
52 .Sh STANDARDS | |
53 The | |
54 .Nm | |
55 utility is compliant with the | |
56 .St -p1003.1-2013 | |
57 specification. | |
58 .Pp | |
59 The | |
60 .Op Fl dhP | |
61 flags are an extension to that specification. |