We have a script shared on ArcGIS.com that can be used to automate this process. See the link below.
https://www.arcgis.com/home/item.html?id=54e8aab14f6e4c61b65b9dd9ab451503
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.