I'll give it a try, thanks!
fwiw, I have an addin (works with 10.2.x/10.3.x) that can look at all the mxd in a folder (and subfolders), provide a report of all broken links and allow you to update a .csv file and then fix most (if not all) of the broken links). Always do a test on a copy first...but, in case you are interested
Python addin for data inventory and “broken-link” repair.
Not perfect, and may not be work the effort for just two mxd docs...but if yo have a lot, or if machines/paths change, may be worth it.
Yes you would have to run the script on each mxd that has the broken link in it.
I know it's an old post but , I was wondering if there is a way to use this script if my shapefiles are in two different documents?
Thanks,
import arcpy mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd") mxd.findAndReplaceWorkspacePaths(r"C:\Project\Data", r"C:\Project\Data2") mxd.saveACopy(r"C:\Project\Project2.mxd") del mxd
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.