diskcleanup
This ArcGIS Data Store utility is used with the relational and spatiotemporal big data stores.
The diskcleanup utility removes temporary files left over from operations such as running the restoredatastore utility and upgrading ArcGIS Data Store. Certain files are retained after upgrading that would allow you to troubleshoot a failed upgrade or restore operation. After you confirm that your upgrade or restore operation is successful and the system is working as expected, you can run this tool to remove those temporary files and regain free disk space on the data store machines.
This utility cleans up disk space on one machine at a time. If you need to clean up files on more than one machine in the same data store, you must run the tool on each machine.
Syntax
diskcleanup
Example
To run the diskcleanup utility, you must confirm that you want to proceed.
./diskcleanup
diskcleanup
You are attempting to cleanup some archived data generated as part of ArcGIS Data Store upgrades or backup-restore operations. Once removed, this data can't be recovered. Do you want to continue (Yes or No)?