DUS

Section: User Commands (1.3)
Updated: Apr 2011
Index

 

NAME

dus - A simple command line utility for size-sorting files

 

SYNOPSIS

dus [OPTION]... [FILE]...

 

DESCRIPTION

dus 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.

 

OPTIONS

-h, --help
print the help and exit
-v, --version
print the version number and exit
-d, --ignore-dots
ignore files and directories whose name starts with a dot
-i, --ignore-protected
do not exit when trying to access files and directories for which we do not have permission
-f, --fancy
display floating point size with K, M and G units
-r, --reverse-order
reverse the sorting order (big to small instead of small to big)
-t, --show-top
show the top of the list instead of the bottom
-c <cols>, --nb-columns <cols>
force the number of columns, -1 means no limit (it is by default no limits if the stdout is not a tty and the tty width otherwise)
-l <lines>, --nb-lines <lines>
same as -c but for the number of lines
-m <size min>, --min-size <size min>
restrict the printing of files and directories to these of size bigger than a lower bound. The size can be specified using the G, M, K, and B units

 

EXAMPLE

dus -m 1M -rt ~/private/

List the largest files and directories present in ~/private/, of sizes greater than 1024kb, sorted in decreasing order.

 

BUGS

None known, probably many though.

 

AUTHOR

Written by Francois Fleuret <francois@fleuret.org> and distributed under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
BUGS
AUTHOR
This document was created by using the manual pages.
Time: 13:12:21 GMT, March 29, 2024