The Convert Cache Storage Format utility allows you to change the storage format of a map cache from the command line. If the cache was originally stored in the exploded format, it is converted to the compact format. If the cache was originally stored in the compact format, it is converted to the exploded format.
See Available map cache properties to learn more about cache storage formats.
The name of an ArcGIS Server user who will execute the utility. The user must have the appropriate level of privileges to execute the action. If your site is configured with web-tier authentication, specify a built-in user, such as the primary site administrator account.
The password of the user who was specified with the -u parameter.
The URL of the site, in one of the following formats:
The name of the service whose cache format you want to convert. This is provided using the syntax <Service name>:<Service type>.
The number of instances of the ArcGIS Server CachingTools service to use for the job. See Allocation of server resources to caching.
Prints help for the utility.
The following example converts the storage format of a map service named SanDiego.
<Python installation location>\python.exe "C:\Program Files\ArcGIS\Server\tools\admin\convertcachestorageformat.py" -u admin -p admin -s http://gisserver.domain.com:6080 -n SanDiego:MapServer -i 2