1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-4.git synced 2024-11-25 01:14:23 +00:00
bda-4-steffo/scripts/create-neo4j-desktop-link.sh

7 lines
272 B
Bash
Raw Normal View History

2022-11-25 08:31:19 +00:00
#!/usr/bin/env bash
repo=$(git rev-parse --show-toplevel)
unlink "$repo/data/neo4j"
ln -s "$1" "$repo/data/neo4j"
# Example call:
# ./create-neo4j-desktop-link.sh "/home/steffo/.config/Neo4j Desktop/Application/relate-data/dbmss/dbms-13367bfc-b56d-418c-a9bd-c8c3932e1e0e"