Refactor: change "folder" to "directory" where needed.

This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
This commit is contained in:
Marco Bonelli
2019-02-11 19:00:49 +01:00
committed by Agniva De Sarker
parent 2484529a83
commit 2599a6de48
65 changed files with 202 additions and 202 deletions

View File

@@ -2,13 +2,13 @@
> Utility to import a collection or database from a binary dump into a MongoDB instance.
- Import a bson data dump from a folder to a MongoDB database:
- Import a bson data dump from a directory to a MongoDB database:
`mongorestore --db {{database_name}} {{path/to/folder}}`
`mongorestore --db {{database_name}} {{path/to/directory}}`
- Import a bson data dump from a folder to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):
- Import a bson data dump from a directory to a given database in a MongoDB server host, running at a given port, with user authentication (user will be prompted for password):
`mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/folder}} --password`
`mongorestore --host {{database_host:port}} --db {{database_name}} --username {{username}} {{path/to/directory}} --password`
- Import a collection from a bson file to a MongoDB database: