Exports metadata for many ArcGIS items to a designated folder. This tool is a model that uses Export Metadata to export metadata for many ArcGIS items.
The output XML files are named by appending _export.xml to the item's name and are stored in the specified folder.
ExportMetadataMultiple_conversion (Source_Metadata, Translator, Output_Folder)
The set of items whose metadata will be converted, or the set of stand-alone XML files that will be converted.
An XML file that defines the conversion that will be performed.
The translator files provided with ArcGIS for Desktop can be found in the <ArcGIS Installation Location>\Metadata\Translator folder. The following translators are provided:
An existing folder where the output XML files containing the converted metadata will be stored.
Export metadata for many ArcGIS items
Updates and exports metadata for several ArcGIS items to XML files that are formatted correctly for the ISO 19139 metadata standard. The output XML files are stored in the specified folder.
import arcpy from arcpy import env env.workspace = "C:/data" #set local variables sources = "vegetation;vegtypes;vegreport.doc;vegmap.mxd;veglayer.lyr" dir = arcpy.GetInstallInfo("desktop")["InstallDir"] translator = dir + "Metadata/Translator/ESRI_ISO2ISO19139.xml" arcpy.ExportMetadataMultiple_conversion (sources, translator, "c:/data/export")
- ArcGIS for Desktop Basic: Yes
- ArcGIS for Desktop Standard: Yes
- ArcGIS for Desktop Advanced: Yes