Does anyone know how to specify a (LDIF) file name to export to when using Ldapsearch?
I’m able to see the info’ I want scroll through the command screen, but I would like to write this info’ to a file.
Thank you,
Charlie
Does anyone know how to specify a (LDIF) file name to export to when using Ldapsearch?
I’m able to see the info’ I want scroll through the command screen, but I would like to write this info’ to a file.
Thank you,
Charlie
Subject: LDAP Export File
I’ve tried the “-L” attribute, but I am still unable to write the info’ to a file. I’m also noticing that the scrolling info’ only indicates one of my Directory Assistance domains (we have three here).
Charlie
Subject: LDAP Export File
the -f parameter should let you pass the filename
HTH
Subject: RE: LDAP Export File
Thank you very much Neal, I’ll give it a try.
Charlie
Subject: RE: LDAP Export File
Neal,
Based on the Notes Admin Help file, I believe the -f switch is to indicate a filter file to read from.
Thanks anyway,
Charlie
Subject: LDAP Export File
Hi Charlie, try redirecting the output. Append “>filename.ldif” to the end of the ldapsearch command (minus the quotes and where filename.ldif is the name of the target file).
Cheers
Subject: RE: LDAP Export File
Thanks Brian, that worked perfectly!
Charlie
Subject: RE: LDAP Export File
No problem, Charlie, glad I could help B-)