1 .TH "DUS" "1.1" "Mar 2010" "Francois Fleuret" "User Commands"
3 \" This man page was written by Francois Fleuret <francois@fleuret.org>
4 \" and is distributed under a Creative Commons Attribution-Share Alike
9 dus \- A simple command line utility for size-sorting files
13 \fBdus\fP [OPTION]... [FILE]...
17 \fBdus\fP lists files and directories according to their size. It
18 computes the said sizes by summing recursively exact file sizes
19 through directories. If a directory has its name appended with '/', it
20 is not listed, but the elements it contains are. If no files or
21 directories are provided as arguments, the current directory is used
26 \fB-h\fR, \fB--help\fR
27 print the help and exit
29 \fB-v\fR, \fB--version\fR
30 print the version number and exit
32 \fB-d\fR, \fB--ignore-dots\fR
33 ignore files and directories whose name starts with a dot
35 \fB-f\fR, \fB--fancy\fR
36 display floating point size with K, M and G units
38 \fB-r\fR, \fB--reverse-order\fR
39 reverse the sorting order (big to small instead of small to big)
41 \fB-t\fR, \fB--show-top\fR
42 show the top of the list instead of the bottom
44 \fB-c \fI<cols>\fR, \fB--nb-columns \fI<cols>\fR
45 force the number of columns, -1 means no limit (it is by default no
46 limits if the stdout is not a tty and the tty width otherwise)
48 \fB-l \fI<lines>\fR, \fB--nb-lines \fI<lines>\fR
49 same as \fB-c\fR but for the number of lines
51 \fB-m \fI<size min>\fR, \fB--min-size \fI<size min>\fR
52 restrict the printing of files and directories to these of size bigger
53 than a lower bound. The size can be specified using the G, M, K, and B
58 .B dus -m 1M -rt ~/private/
61 List the largest files and directories present in ~/private/, of sizes
62 greater than 1024kb, sorted in decreasing order.
66 None known, probably many though.
70 Written by Francois Fleuret <francois@fleuret.org> and distributed
71 under the terms of the GNU General Public License version 3 as
72 published by the Free Software Foundation. This is free software: you
73 are free to change and redistribute it. There is NO WARRANTY, to the
74 extent permitted by law.