Last active
August 29, 2015 14:23
-
-
Save terrancesnyder/b4ef1acd7494b1b9aa78 to your computer and use it in GitHub Desktop.
Useful bash for clearing solr index data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shopt -s globstar | |
find ./consumers_s*/**/data/* -type f -exec rm -rf {} \; | |
find ./consumers_s*/**/tlog/* -type f -exec rm -rf {} \; | |
find ./orders_s*/**/data/* -type f -exec rm -rf {} \; | |
find ./orders_s*/**/tlog/* -type f -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment