Created
April 14, 2014 15:57
-
-
Save johngeorgewright/10660725 to your computer and use it in GitHub Desktop.
Orient DB executions - assuming you've installed it in $HOME/Library/OrienTechnologies/OrientDB-1.7
This file contains hidden or 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
function orient | |
{ | |
if [ "$1" == 'db' ] | |
then | |
command="orientdb" | |
else | |
command="$1" | |
fi | |
sh $HOME/Library/OrienTechnologies/OrientDB-1.7/bin/$command.sh ${*:2} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Now you can execute the newly installed OrientDB commands like so:
orient server
orient db start
orient db stop
orient console
...etc