Invalid CSVDE column file format?

I use CSVDE to export data from our active directory to a CSV file, which is then imported into the database. I use the -l switch to specify the columns that I would like to export, but they do not exit in the same order in sequence. Is there a workaround for this that does not involve opening the file in Excel? This is a nightly batch process, and we would like it to run unattended.

Thanks!

+3
source share
2 answers

If you just want to use a command line utility that can reorder CSV (and much more), take a look at my FOSS CSV stream editor, CSVfix .

+2
source

In documents:

LDAP order csvde .

python script, csv ? python csv, .

0

Source: https://habr.com/ru/post/1705583/


All Articles