Query: mongoimport
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MONGOIMPORT(1) Mongo Database MONGOIMPORT(1)NAMEmongoimport - the Mongo import toolSYNOPSISmongoimport [OPTIONS]DESCRIPTIONmongoimport is a tool to import a MongoDB collection from JSON, CSV, or TSV. The query can be filtered or a list of fields to input can be given. OPTIONS --help show usage information -h, --host HOST server to connect to (default HOST=localhost) -d, --db DATABASE database to use -c, --c COLLECTION collection to use (some commands) --dbpath PATH directly access mongod data files in this path, instead of connecting to a mongod instance -v, --verbose be more verbose (include multiple times for more verbosity e.g. -vvvvv) -f, --fields NAMES comma separated list of field names e.g. -f name,age --fieldFile FILE file with fields names - 1 per line --jsonArray load a json array, not one item per line. Currently limited to 4MB. --ignoreBlanks if given, empty fields in csv and tsv will be ignored --type TYPE type of file to import. default: json (json,csv,tsv) --file FILE file to import from; if not specified stdin is used --drop drop collection first --headerline CSV,TSV only - use first line as headersCOPYRIGHTCopyright 2007-2009 10genSEE ALSOFor more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.AUTHORKristina Chodorow 10gen January 2010 MONGOIMPORT(1)
Related Man Pages |
---|
mongoexport(1) - debian |
mongoimport(1) - debian |
mongofiles(1) - debian |
mongodb::connection(3pm) - debian |
mongodb::database(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
How to work with fields of a csv file? |
Replacing text in a .csv file using Perl |
txt file to CSV |
Merging fields in CSV |
Joining and sorting with csvs with subfields |