If feature class has the same name as feature class in another database

Discussion created by louearly on Dec 6, 2012
Latest reply on Dec 20, 2012 by mzcoyle
I have two databases (Staging and Prod) each containing the same feature classes.  I want to append the data from each individual feature class in the staging.gdb to its matching feature class in the Prod.gdb.  What is the most efficient way of writing this in python.

Currently i am using the append tool for each individual feature class. this is making the script kind of long and a lot to maintain if something changes as I have 20 appends to account for the 20 different feature classes.


Staging.gdb  ...........   Prod.gdb
Wetlands  --append--> Wetlands
Streams   --append-->  Streams