Skip to content

Instantly share code, notes, and snippets.

@romainbessugesmeusy
Created April 23, 2015 15:03
Show Gist options
  • Save romainbessugesmeusy/75c835ed37d76d881d50 to your computer and use it in GitHub Desktop.
Save romainbessugesmeusy/75c835ed37d76d881d50 to your computer and use it in GitHub Desktop.
Switch Neo4j Database
#!/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