I try to find folders that missing file name "kavi\*" inside them. All the folders spread in one big folder that divided to a lot of sub folders and sub sub folders. 
I started the code like that but i don't know how to proceed:

```
import arcpy,fnmatch,os

rootPath = r"D:\PROJECTS\road57\gis\layers\taba\taba-mmi"
pattern = 'kavi*.shp'
for root, dirs, files in os.walk(rootPath):
    for filename in fnmatch.filter(files, pattern):
        print(os.path.join(root, filename))         

```

The out put is:

```
D:\PROJECTS\road57\gis\layers\taba\taba-mmi\8233\4022502\kavim kchulim.shp
D:\PROJECTS\road57\gis\layers\taba\taba-mmi\8233\4022950\kavim kchulim.shp
D:\PROJECTS\road57\gis\layers\taba\taba-mmi\8233\4050004\kavim_kchulim.shp
D:\PROJECTS\road57\gis\layers\taba\taba-mmi\9887\4050012\kavim_kchulim.shp
D:\PROJECTS\road57\gis\layers\taba\taba-mmi\9889\4050025\kavim_kchulim.shp
D:\PROJECTS\road57\gis\layers\taba\taba-mmi\9900\4050040\kavim_kchulim.shp

>>>

```

this print all the folders with "kavi\*" file. But i need output with all the folders that don't include "kavi\*" file