From 8801a302fa0c45f6036702ce7bc7e5cb0236e7e7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 17 Aug 2005 17:39:34 +0000 Subject: [PATCH] add an example of -a usage (ITS#3930) --- doc/man/man8/slapcat.8 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/man/man8/slapcat.8 b/doc/man/man8/slapcat.8 index 1609dbf821..d6eb2ff77f 100644 --- a/doc/man/man8/slapcat.8 +++ b/doc/man/man8/slapcat.8 @@ -62,7 +62,14 @@ cannot be used in conjunction with the option. .TP .BI \-a " filter" -Only dump entries matching the asserted filter. +Only dump entries matching the asserted filter. +For example + +slapcat -a \\ + "(!(entryDN:dnSubtreeMatch:=ou=People,dc=example,dc=com))" + +will dump all but the "ou=People,dc=example,dc=com" subtree +of the "dc=example,dc=com" database. .TP .BI \-s " subtree-dn" Only dump entries in the subtree specified by this DN. -- 2.39.5