Say I'm trying to find a file name that contains the two words One and Two. The sequence must be in that order e.g.
./fksklknejnwjOnesvjnh9uibivuwTwojnwovno.
At the same time, I would want to exclude any files that contain the words in opposite order, like
./fksklknejnwjTwosvjnh9uibivuwOnejnwovno.
So far all I got is the following, which does not exclude files with tho words in the wrong order:
find . -type f -name "*One*" -name "*Two*"
Any help would be appreciated and sorry if this question is very basic. Just a beginner and first time posting here.
OnewildcardTwo... all three in one search term