From: Andre Noll Date: Thu, 2 Jun 2016 13:11:59 +0000 (+0200) Subject: manual: Add example query for omitting a directory. X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=commitdiff_plain;h=dcdfc01e9f9edfe6e11b5aab1ee582174086a2b3;ds=sidebyside manual: Add example query for omitting a directory. The --pattern option to match paths against regular expressions can be very useful, so let's add a simple example which prepends the pattern by an exclamation mark to exclude a directory from the file list. --- diff --git a/adu.1.inc b/adu.1.inc index 78d7e22..79f1478 100644 --- a/adu.1.inc +++ b/adu.1.inc @@ -23,6 +23,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)