X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=dus.1;h=e791861bea02e31b5098b8c53dde916ac0872fce;hb=e299f447aad7b0ad4db7ccd745ff224a85c4ca93;hp=c6763833a51e437f319fa9eadaf03d57297bdf03;hpb=540879d0b9cdd2961d56c601156f8ed7d589cea2;p=dus.git diff --git a/dus.1 b/dus.1 index c676383..e791861 100644 --- a/dus.1 +++ b/dus.1 @@ -14,18 +14,27 @@ dus \- A simple command line utility for size-sorting files .SH "DESCRIPTION" -\fBdus\fP is a command line utility to sort files and directories -according to their size. It computes the said size by summing -recursively exact file sizes through directories. +\fBdus\fP lists files and directories according to their size. It +computes the said sizes by summing recursively exact file sizes +through directories. If a directory has its name appended with '/', it +is not listed, but the elements it contains are. If no files or +directories are provided as arguments, the current directory is used +as default. .SH "OPTIONS" .TP \fB-h\fR, \fB--help\fR -display help and exit +print the help and exit +.TP +\fB-v\fR, \fB--version\fR +print the version number and exit .TP \fB-d\fR, \fB--ignore-dots\fR ignore files and directories whose name starts with a dot .TP +\fB-i\fR, \fB--ignore-protected\fR +ignore files and directories for which we do not have permission +.TP \fB-f\fR, \fB--fancy\fR display floating point size with K, M and G units .TP @@ -44,7 +53,16 @@ same as \fB-c\fR but for the number of lines .TP \fB-m \fI\fR, \fB--min-size \fI\fR restrict the printing of files and directories to these of size bigger -than a lower bound +than a lower bound. The size can be specified using the G, M, K, and B +units + +.SH "EXAMPLE" + +.B dus -m 1M -rt ~/private/ + +.fi +List the largest files and directories present in ~/private/, of sizes +greater than 1024kb, sorted in decreasing order. .SH "BUGS"