Tuesday 23 June 2015

LDIF to CSV Converter

If we export the data from Active Directory then its exported in ldif format so below utility will convert ldif data to csv format.

How to convert from ldif to csv?

LDIF to CSV Converter:

1) Download the Software Converter utility "LDIFtoCSV-win32-v1.0.zip". Copy this utility in any      drive (Ex- D drive)

2) Put the Input file (testInput.ldif) in below software converter utility folder:

                 D:\LDIFtoCSV-win32-v1.0

3) Go to the" D:\LDIFtoCSV-win32-v1.0" utility folder path on cmd and run below command for converting the LDIF file to CSV.

                Command:
                LDIFtoCSV.exe -o <filetowriteoutput> -l <fileforlogging> <Inputfile.ldif>

                filetowriteoutput -->Output will be copied in this file in CSV format.
fileforlogging --> Log file will be generated in this file.
Inputfile.ldif --> This id the LDIF input file which data need to be converted in CSV.

               Example:
               LDIFtoCSV.exe -o TestOutput.csv -l TestOutput.log ranile.ldif
               
   
      

No comments:

Post a Comment