From 6ab7b1b9159fa9f85d99405da2e16f0faf324f91 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 3 Oct 2014 13:41:52 -0700 Subject: Add local-testnet clean script, and make a really ugly hacky fix in main.c for the -q option. (All that personality stuff needs to be rewritten. Yuck.) --- testnet/clean-local-testnet.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 testnet/clean-local-testnet.sh (limited to 'testnet') 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 -- cgit v1.2.3