How to copy featureclasses from personal Geodatabase to File geaodatabase using Arcpy

المشرف العام

Administrator
طاقم الإدارة
I have huge amount of personal geodatabases that contain dataset and featureclasses(one dataset with four feature classes and one feature classes outside of the dataset in each mdb).I want to create a file geodatabase for each of mdb and copy the dataset and feature classes in the file geodatabases. for creating file geodatabse i use the below code but i don't know ho to copy the datasets and feature classes to the file geodatabase programmatically

import arcpy,os for file in os.listdir(r"X:\test\2"): if file.endswith(".mdb"): arcpy.CreateFileGDB_management(r"X:\test\2",file[:-4],"CURRENT")

أكثر...
 
أعلى