Created
July 31, 2019 09:27
-
-
Save BRELID/442655df1a994d2358a551f42aedf2a2 to your computer and use it in GitHub Desktop.
Command for transform .BSON to .JSON / Commande pour transformer un .BSON en .JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Command for transform .BSON to .JSON | |
// Commande pour transformer un .BSON en .JSON | |
bsondump --outFile <OUTPUT_FILE> -bsonFile <YOUR_BSON_FILE> --pretty | |
ex: | |
bsondump --outFile ./customers-data/customers.json ./backup/customers.bson --pretty | |
FLAGS: | |
--outFile : path to output file to dump BSON to / chemin vers le fichier de sortie | |
--bsonFile : path to BSON file to dump to JSON / chemin vers le fichier BSON à transformer en JSON | |
--pretty : oupt JSON formatted to be human-readble / Formate le json pour qu'il soit lisible et aligné | |
// For watch others flags / Pour voir les autres drapeaux: | |
bsondump --help | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment