1
0
mirror of git://git.suckless.org/sbase synced 2024-12-25 08:22:44 +00:00
sbase/du.1
Hiltjo Posthuma 2cf82f4c16 du: add -d flag to specify the max depth to show files or directories
we don't allow to use it with -s (like GNU du). busybox allows it.
2014-10-18 23:57:00 +01:00

38 lines
842 B
Groff

.TH DU 1 sbase\-VERSION
.SH NAME
du \- display disk usage statistics
.SH SYNOPSIS
.B du
.RB [ \-a
.RB |
.BR \-s ]
.RB [ \-d
.IR depth ]
.RB [ \-k ]
.RB [ \-h ]
.RI [ file ...]
.SH DESCRIPTION
.B du
displays the file system block usage for each
.I file
argument and for each directory in the file hierarchy rooted in directory argument.
If no file is specified, the block usage of the hierarchy rooted in the current
directory is displayed.
.SH OPTIONS
.TP
.BI \-a
Display an entry for each file in the file hierarchy.
.TP
.BI \-s
Display only the grand total for the specified files.
.TP
.BI "\-d depth"
Maximum directory depth to print files and directories.
.TP
.BI \-k
By default all sizes are reported in 512-byte block counts.
The -k option causes the numbers to be reported in kilobyte counts.
.TP
.BI \-h
Enable human readable output.