Created
April 23, 2015 15:03
-
-
Save romainbessugesmeusy/75c835ed37d76d881d50 to your computer and use it in GitHub Desktop.
Switch Neo4j Database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
neo4j stop | |
$data = ${DATA_PATH:=/usr/local/Cellar/neo4j/2.*/libexec/data} | |
rm -rf $data; | |
ln -s $1 $data | |
neo4j start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment