1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-6.git synced 2024-11-23 16:34:18 +00:00
bda-6-steffo/data/scripts/import-db.sh

4 lines
161 B
Bash
Raw Normal View History

2023-02-01 03:20:09 +00:00
#!/usr/bin/env bash
repo=$(git rev-parse --show-toplevel)
mongoimport --db='reviews' --collection='reviews' --file="$repo/data/raw/reviewsexport.json" --verbose