I have a huge folder with a lot of subfolders where I would like to search for a folder that contains three words. Note that the folder name needs to have all three words, but the order of the words does not matter.
Example: I want to find folders containing the words APE, Banana and Tree.
find folder -name '*APE*Banana*Tree*'
However, this command will consider the order of the words, while this is not of interest and I want to find any folder with those words in any order.