debian man page for mongoexport

Query: mongoexport

OS: debian

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MONGOEXPORT(1)							  Mongo Database						    MONGOEXPORT(1)

NAME
mongoexport - the Mongo export tool
SYNOPSIS
mongoexport [OPTIONS]
DESCRIPTION
mongoexport is a tool to export a MongoDB collection to either JSON or CSV. The query can be filtered or a list of fields to output can be given. If the output is CSV, the fields must be specified in order.
EXAMPLES
mongoexport -d test -c test1 --csv -f name,num export documents from test.test1 in CSV format
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 -q, --query QUERY query filter -f, --fields FIELDS comma-separated list of field names --csv export to CSV instead of JSON -o, --out FILE output file, if not specified, stdout is used --dbpath PATH directly access mongod data files in this path, instead of connecting to a mongod instance
COPYRIGHT
Copyright 2007-2009 10gen
SEE ALSO
For more information, please refer to the MongoDB wiki, available at http://www.mongodb.org.
AUTHOR
Kristina Chodorow 10gen June 2009 MONGOEXPORT(1)
Related Man Pages
mongoexport(1) - debian
mongodb::collection(3pm) - debian
mongodb::cursor(3pm) - debian
mongodb::oid(3pm) - debian
text::csv::encoded::coder::encodeguess(3pm) - debian
Similar Topics in the Unix Linux Community
CSV File parse help in Perl
csv file to array, match field1, replace in flat file field1 to field2
Removing comma "," in a field value in csv file
Reg - Working on a CSV File in a script
Find Data in test file and write each out to a line