1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-6.git synced 2024-11-24 08:44:19 +00:00
bda-6-steffo/data/scripts/import-db.sh
2023-02-01 04:20:09 +01:00

3 lines
161 B
Bash
Executable file

#!/usr/bin/env bash
repo=$(git rev-parse --show-toplevel)
mongoimport --db='reviews' --collection='reviews' --file="$repo/data/raw/reviewsexport.json" --verbose