]> git.mxchange.org Git - hub.git/blobdiff - contrib/cleanup.sh
Moved to contrib.
[hub.git] / contrib / cleanup.sh
diff --git a/contrib/cleanup.sh b/contrib/cleanup.sh
new file mode 100755 (executable)
index 0000000..103188c
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# Cleans up all created files to start from scratch
+
+echo "$0: Cleaning up database ..."
+rm -f db/*/*.serial*
+
+echo "$0: Cleaning up stacks ..."
+rm -f data/stacks/*.stack*
+
+echo "$0: All done."
+exit 0