Find all files/directories with '.what_to_find' extension under current directory tree and show the list by excluding paths that contain 'excludeddir1' and 'excludeddir2'
find . -name '*.what_to_find' | grep -v exludeddir1 | grep -v excludeddir2