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

Re: ldapsearch



You could use the > (greater than) option 

eg LDAPSEARCH -L -b "dc=xxx,etc" cn=* > directory/filename

On 24 Feb 00, at 10:05, Mikael wrote:

> Hi!
> Simple question:
> If I want to use the ldapsearch.exe (included in openldap package) for
> searching in my ldapserver but I want the result to be printed in a
> separate textfile(in ldif format) in a specific filepath, what is the
> complete command?
>     -L for ldif format but to specify that result should be printed to a
> file?
> 
> --
> 
> Thanks in advance
> Mikael
> 
> 



----------------------------------------------------------------

  Antonin Ch. Novak                    mailto:Antonin.Novak@cca.cz
  Systemovy administrator
  Systemova a technicka podpora

   Tel: +42 019 7221253   
  Fax: +42 019 7222931

  CCA spol. s r.o.                    Web: http://www.cca.cz
  Kratka 8, 301 17 Plzen
  Czech Republic