[DOCS-7119] Comment on: "primer/import-data.txt" Created: 09/Feb/16 Updated: 24/Feb/16 Resolved: 09/Feb/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Allison Reinheimer Moore |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: https://docs.mongodb.org/getting-started/shell/import-data/ |
||
| Participants: | |
| Days since reply: | 8 years, 1 week, 1 day ago |
| Description |
|
where to put the downloaded json file |
| Comments |
| Comment by Allison Reinheimer Moore [ 09/Feb/16 ] | |
|
The data import example assumes that you're running mongoimport from the directory where you've saved the dataset, which is why we specify it with the --file primer-dataset.json option. However, you can put the downloaded JSON file wherever you like – you just need to tell mongoimport where to find it by specifying the path in the --file option. If it was in ~/downloads/primer-dataset.json, for example, you could specify:
|