]> git.tuebingen.mpg.de Git - adu.git/blobdiff - adu.1.inc
manual: Add two more examples.
[adu.git] / adu.1.inc
index 78d7e22fd78b591cce331b48a27a3828acc6aa72..1bf06c214873ba132cc5a01d4aba046aeb399c16 100644 (file)
--- a/adu.1.inc
+++ b/adu.1.inc
@@ -13,7 +13,14 @@ Here's a simple query that uses the newly created database to print
 the user-summary:
 .IP
        $ adu --select --database-dir /root/adu-var
-
+.PP
+To print the one-line global summary instead, use
+.IP
+       $ adu --select --database-dir /root/adu-var --select-options '--select-mode global_summary'
+.PP
+To sort the user summary by file count rather than by file size, run
+.IP
+       $ adu --select --database-dir /root/adu-var --select-options '--list-sort=file_count'
 .PP
 The command below prints the five largest directories of the users root and
 mysql:
@@ -23,6 +30,10 @@ mysql:
 The same, using short options:
 .IP
        $ adu -Sd /root/adu-var -s '-m user_list -u root -u mysql -l 5'
+.PP
+Again the same, but omitting /var/cache:
+.IP
+       $ adu -Sd /root/adu-var -s '-m user_list -u root -u mysql -l 5 -p !^cache/'
 
 [SEE ALSO]
 .BR du (1)