Skip to content

Instantly share code, notes, and snippets.

@regular
Created October 30, 2020 07:39
Show Gist options
  • Save regular/3db55afe96f4207b29d0d6c5916b29a7 to your computer and use it in GitHub Desktop.
Save regular/3db55afe96f4207b29d0d6c5916b29a7 to your computer and use it in GitHub Desktop.
shell script that deletes all leveldb-based indexes of all networks and identities managed by Bay of Plenty (BSD/OSX version)
#!/bin/sh
find ~/.bay-of-plenty/networks -name CURRENT|xargs -I% dirname % | xargs -I% rm -rf %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment