Takes all of the JSON output from a retrieval and outputs it to a csv file for easier reporting on what you have in a BU.
- Step 0: make sure csv-writer is installed
npm install csv-writerto install - Step 1: Copy the consolidate.js script into the retrieve directory of your project.
- Step 2: run the script
node consolidate.jsYou will be asked which directory to start in and the name of the outputfile. Be sure to name the file with the file extension .csv