
Manage content caching from the command line on Mac
You can use the AssetCacheManagerUtil utility in the Terminal app
on your Mac to manage content caching from the command line. The utility is also useful if you need to manage content caching on a headless or remote Mac. To manage content caching on another Mac, log in to the other Mac using ssh.
Most AssetCacheManagerUtil commands require root privileges and must be used with the sudo command.
The general form of the command is:
AssetCacheManagerUtil [options] commandAction | Example | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Display content cache settings. |
| ||||||||||
Display content cache status. |
| ||||||||||
Find out whether content caching is on. |
| ||||||||||
Find out whether content caching can be turned on. |
| ||||||||||
Import an existing cache from another computer. |
| ||||||||||
Move an existing cache to another computer. |
| ||||||||||
Reload the content cache settings. |
| ||||||||||
Remove all cached content. |
| ||||||||||
Remove all cached iCloud content. |
| ||||||||||
Remove all cached shared (non-iCloud) content. |
| ||||||||||
Turn off content caching. |
| ||||||||||
Turn on content caching. |
| ||||||||||
For more information about the commands, see the AssetCacheManagerUtil man page.