1
Fork 0
mirror of https://github.com/Steffo99/unimore-bda-4.git synced 2024-11-21 23:54:19 +00:00
bda-4-steffo/scripts/create-neo4j-desktop-link.sh
2023-03-05 21:49:24 +01:00

7 lines
No EOL
272 B
Bash
Executable file

#!/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"