Skip to content

Instantly share code, notes, and snippets.

View adam-cowley's full-sized avatar

Adam Cowley adam-cowley

View GitHub Profile
@jexp
jexp / empty-aura-db.sh
Created November 9, 2019 12:32
Truncate Neo4j Aura Cloud Database
#!/bin/bash
if [ ! -f bin/neo4j-admin ]; then echo "Please change to the Neo4j Installation directory!!"; exit 1; fi
echo "Have your password and Neo4j Aura Cloud Database Bolt URL ready!"
echo "This will override your cloud database with an empty one!!!"
echo "If you don't want that press <ctrl-c>, otherwise <enter>"
echo
read
if [ ! -f plugins/neo4j-push-to-cloud-3.jar ]; then
echo "Downloading push-to-cloud jar"