diff options
author | Richard Kreuter <richard@10gen.com> | 2010-01-25 16:10:18 -0500 |
---|---|---|
committer | Richard Kreuter <richard@10gen.com> | 2010-01-25 16:12:16 -0500 |
commit | ffcb0f6ba6c09ffa58ba365f23b79c1fb796b34a (patch) | |
tree | 67dd54b24cc8a7ca9af6193dcbd05051717b4353 /debian/mongoimport.1 | |
parent | d0cd08bfb2e577a7cd2cce96f6a16f47c8636dc7 (diff) | |
download | mongo-ffcb0f6ba6c09ffa58ba365f23b79c1fb796b34a.tar.gz |
Renamed mongoimportjson.1 to mongoimport.1; updated file contents. MINOR
Diffstat (limited to 'debian/mongoimport.1')
-rw-r--r-- | debian/mongoimport.1 | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/debian/mongoimport.1 b/debian/mongoimport.1 new file mode 100644 index 00000000000..4b6c3de156b --- /dev/null +++ b/debian/mongoimport.1 @@ -0,0 +1,63 @@ +.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.37.1. +.TH MONGOIMPORT "1" "January 2010" "10gen" "Mongo Database" +.SH "NAME" +mongoimport \- the Mongo import tool +.SH "SYNOPSIS" +\fBmongoimport [\fIOPTIONS\fR]\fR +.SH "DESCRIPTION" +.PP +\fBmongoimport\fR +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. +.\".SH "EXAMPLES" +.\".TP +.\".B mongoimport -d test -c test1 --csv -f "name,num" +.\"import documents from test.test1 in CSV format +.SS "OPTIONS" +.TP +\fB\-\-help\fR +show usage information +.TP +.B \-h, \-\-host HOST +server to connect to (default HOST=localhost) +.TP +.B \-d, \-\-db DATABASE +database to use +.TP +.B \-c, \-\-c COLLECTION +collection to use (some commands) +.TP +.B \-\-dbpath PATH +directly access mongod data files in this path, +instead of connecting to a mongod instance +.TP +.B \-v, \-\-verbose +be more verbose (include multiple times for more +verbosity e.g. \fB\-vvvvv\fR) +.TP +.B \-f, \-\-fields NAMES +comma seperated list of field names e.g. \fB\-f\fR name,age +.TP +.B \-\-fieldFile FILE +file with fields names \- 1 per line +.TP +.B \-\-ignoreBlanks +if given, empty fields in csv and tsv will be ignored +.TP +.B \-\-type TYPE +type of file to import. default: json (json,csv,tsv) +.TP +.B \-\-file FILE +file to import from; if not specified stdin is used +.TP +.B \-\-drop +drop collection first +.TP +.B \-\-headerline +CSV,TSV only \- use first line as headers +.SH "COPYRIGHT" +.PP +Copyright 2007\-2009 10gen +.SH "SEE ALSO" +For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org. +.SH "AUTHOR" +Kristina Chodorow |