merge certain layers within multiple feature datasets in a geodatabase

Discussion created by rscnole on Sep 5, 2013
Latest reply on Sep 6, 2013 by cblinnmrc
I have a geodatabase with multiple feature datasets inside.  Each of these feature datasets contains multiple layers of different geometry types.  I would like to create a comprehensive file of each of these geometry types. 

In order to do this i would normally just open the merge tool and pick out all the ones i want. 

Well in this case there are over 100 so i was thinking this would be a lot easier if there was a script that could crawl through the geodatabase, pull out the certain geometry type from each feature dataset and merge them all together.  And what would be even better would be if it added a field to the final file with the layer name of each merged file so that i'd know which was which.

Anyone have something like that lying around? or is this something easy to create?

I have little to know python experience so any help would be appreciated.

thank you.