MongoDB migration

@turivishal could you tell me how to get a list of all collections in the DB’s in your script ? I am unable to find how to do it.

I searched online and got this page but couldnt get anything that worked.

Regards,
Harsha