I have a bunch of folders which all have (almost) identical folder structures and file geodatabases of identical structures which in this folder structure. I need to add all of the same type of feature class to an mxd and merge them into a new feature class. There are a lot of them so I thought this seemed like the sort of thing I could do in python.
The folders are all in the same folder and there is a common path to the feature class in question, for example:
project_name/Subfolder1/subfolder2/project_name.gdb/featuredataset/featureclass.
so I'm thinking of trying to loop through the folders and extraxt the feature class from each of them using a method like this, but I'm not quite sure how arcpy interacts with, and loops through windows folders.
Since I'm looking for any feature class of this name within the root folder could I use a more brute force method that searches in the root folder and subfolders for the name and adds it to the mxd?