swift-ldif-csv
Migrate LDIF files to CSV using Swift
https://github.com/krypted/swift-ldif-csv/blob/master/ldif_to_csv
Usage:
ldif_to_csv [-csv ] [-a ]
$1 - - path to the source LDIF file.
-csv - path to the output CSV file. By default output file will be created in the LDIF’s source directory.
-a - comma separated list of attributes. By default all attributes will be exported.