LDIFDE

M

Megan Kielman

Is there a way to do an LDIFDE export for several user objects and have the
output placed in the ONE file?

For example, I need to obtain the DN of 30 users and I wanted to do this
using a batch file, however, I can't figure out how to do this and have the
exported data inputed into a single file. Each time LDIFDE is run, it
overwrites the previous output.
 
J

Joe Richards [MVP]

Use a couple of files. The one file ldifde keeps overwriting and a command that
appends that new file to the old...

ldifde blah -f file1.ldf
type file1.ldf >> file2.ldf
ldifde blah -f file1.ldf
type file1.ldf >> file2.ldf
....

An alternative would be to write a script to export the data the way you want or
find a way to have a single query get all the info you want.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top