I have multiple geodatabase and shapefiles in multiple sub folders. I would like to search the feature class with keyword “building”, and then export all of them into a single geodatabase with multiple feature classes. For now I assume the “buildings” are polygons but they could be in poly lines or points but I want to fetch them as long as their names contains the keyword “%building%”.

Is there any chance I can do it using ModelBuilder?

  • Are you using the ModelBuilder of ArcGIS Pro or ArcMap?
    – PolyGeo
    Apr 14, 2023 at 7:56

1 Answer 1


You can use the Iterate Feature Classes. If you study the help file you will see that it has a parameter Recursive, which when ticked on will recursively traverse all sub-folders.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.