[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapcat subtrees?

[Committers, should I commit this patch to CVS?]

Quanah Gibson-Mount writes:
> Is it possible to export a subtree to an ldif file using slapcat?

No, but it was easy to implement.  Here is a patch:


Description, from the slapcat(8) manpage:
     -s subtree-dn
          Only dump entries in the subtree specified by this  DN.
          Implies `-b subtree-dn' if no -b or -n option is given.