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

Re: Storing the search results in a file



Thanks Lon,
  So there is no option in ldapsearch utility to specify the filename?

Thanks
Josephine






From: "Lon Tierney" <ltierney@mykungfuisthebest.net>
To: <j_jsuganthi@hotmail.com>
CC: <openldap-software@OpenLDAP.org>
Subject: Re: Storing the search results in a file
Date: Mon, 14 Apr 2003 11:34:26 -0700 (PDT)

I would suggest you use an OS-level tool. On unix, try using the output
redirection operator ">" or append operator ">>". For example:

ldapsearch ...yourSearch... > /etc/myfile


Note: if you are getting LDIF output, the results will be ASCII. All binary values will be base64 encoded.

-lon

> Hi,
>   Can I store the  binary results of a ldapsearch in a specified file?
> At present I am able to give only my preferred path using -T option.
> But I  want to store the results in a specified path with my own
> prefered name for  example "/etc/myfile" ,
> instaed of the name ldapsearchXXXXX.
>
> Thanks for the help
> Josephine
>
>
>
> _________________________________________________________________
> Visit Malaysia. Win a free trip!
> http://server1.msn.co.in/msnspecials/malaysiatourism/index.asp Have an
> exotic holiday





_________________________________________________________________
Chat now. Chat this instant. http://messenger.msn.co.in/  Get MSN Messenger