Find similar folder names recursively in bash <p>How could I find similar folder names recursively in bash command line? </p> <p>I don't know specific name, I want all similar folders grouped by similarity. In other words, I need the bash to search each one by all folder names.</p> <p>I use bash in OS X terminal.</p> <p>Similar folder means: folders which have at least one same word. For example, below folder names:</p> <p>"Example"</p> <p>"John Example"</p> <p>"Example (200)"</p> <p>"12 Example"</p>