Reference

mongoimport(1)

import CSV, TSV or JSON data into MongoDB.

NAME

mongoimport - import CSV, TSV or JSON data into MongoDB.

SYNOPSIS

mongoimport [options] [file]

DESCRIPTION

The mongoimport program allows loading data in CSV, TSV or JSON form into a running MongoDB instance.

OPTIONS

See mongoimport --help for a list supported options and their descriptions.

SEE ALSO

mongoexport(1)

The full documentation of mongoimport can be found at https://docs.mongodb.com/manual/reference/program/mongoimport/.

AUTHOR

mongoimport was written by MongoDB, Inc. and is licensed under the Apache License, Version 2.0.

This manpage was written by Apollon Oikonomopoulos <[email protected]> for the Debian project (but may be used by others).

History

--authenticationDatabase until Debian 8 (Jessie); --authenticationMechanism until Debian 8 (Jessie); --c until Debian 7 (Wheezy); --collection until Debian 8 (Jessie); --db until Debian 8 (Jessie); --dbpath until Debian 8 (Jessie); --directoryperdb until Debian 8 (Jessie); --drop until Debian 8 (Jessie); --fieldFile until Debian 8 (Jessie); --fields until Debian 8 (Jessie); --file until Debian 8 (Jessie); --headerline until Debian 8 (Jessie); --help until Debian 8 (Jessie); --host until Debian 8 (Jessie); --ignoreBlanks until Debian 8 (Jessie); --ipv6 until Debian 8 (Jessie); --journal until Debian 8 (Jessie); --jsonArray until Debian 8 (Jessie); --password until Debian 8 (Jessie); --port until Debian 8 (Jessie); --ssl until Debian 8 (Jessie); --stopOnError until Debian 8 (Jessie); --type until Debian 8 (Jessie); --upsert until Debian 8 (Jessie); --upsertFields until Debian 8 (Jessie); --username until Debian 8 (Jessie); --verbose until Debian 8 (Jessie); --version until Debian 8 (Jessie); -c until Debian 8 (Jessie); -d until Debian 8 (Jessie); -f until Debian 8 (Jessie); -h until Debian 8 (Jessie); -p until Debian 8 (Jessie); -u until Debian 8 (Jessie); -v until Debian 8 (Jessie).