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

Re: Storing the search results in a file



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