]> git.tuebingen.mpg.de Git - adu.git/blobdiff - adu.1.inc
manual: Add example query for omitting a directory.
[adu.git] / adu.1.inc
index fe48d4e5297af0a0106ce15f5d898de7a1d84c6d..79f14786257bb617621769af2b3587ff52fd0224 100644 (file)
--- a/adu.1.inc
+++ b/adu.1.inc
@@ -19,6 +19,14 @@ The command below prints the five largest directories of the users root and
 mysql:
 .IP
        $ adu --select --database-dir /root/adu-var --select-options '--select-mode user_list --user root --user mysql --limit 5'
+.PP
+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)