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-i\fR, \fB--ignore-protected\fR
36 ignore files and directories for which we do not have permission
38 \fB-f\fR, \fB--fancy\fR
39 display floating point size with K, M and G units
41 \fB-r\fR, \fB--reverse-order\fR
42 reverse the sorting order (big to small instead of small to big)
44 \fB-t\fR, \fB--show-top\fR
45 show the top of the list instead of the bottom
47 \fB-c \fI<cols>\fR, \fB--nb-columns \fI<cols>\fR
48 force the number of columns, -1 means no limit (it is by default no
49 limits if the stdout is not a tty and the tty width otherwise)
51 \fB-l \fI<lines>\fR, \fB--nb-lines \fI<lines>\fR
52 same as \fB-c\fR but for the number of lines
54 \fB-m \fI<size min>\fR, \fB--min-size \fI<size min>\fR
55 restrict the printing of files and directories to these of size bigger
56 than a lower bound. The size can be specified using the G, M, K, and B
61 .B dus -m 1M -rt ~/private/
64 List the largest files and directories present in ~/private/, of sizes
65 greater than 1024kb, sorted in decreasing order.
69 None known, probably many though.
73 Written by Francois Fleuret <francois@fleuret.org> and distributed
74 under the terms of the GNU General Public License version 3 as
75 published by the Free Software Foundation. This is free software: you
76 are free to change and redistribute it. There is NO WARRANTY, to the
77 extent permitted by law.