summaryrefslogtreecommitdiff
path: root/testnet
diff options
context:
space:
mode:
Diffstat (limited to 'testnet')
-rwxr-xr-xtestnet/clean-local-testnet.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/testnet/clean-local-testnet.sh b/testnet/clean-local-testnet.sh
new file mode 100755
index 00000000..1d6b7f0d
--- /dev/null
+++ b/testnet/clean-local-testnet.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+export PATH=/bin:/usr/bin:/usr/local/bin
+
+rm -rfv local-testnet/n????
+find local-testnet -type f ! -name 'identity.*' -print0 | xargs -0 rm -fv
+rm -rfv local-testnet/sn????/networks.d