You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
Auxiliary commands
Delete checkpoint files (clear)
Copy page
Download PDF
Delete checkpoint files (clear)
You can use the clear command to delete checkpoint files from the specified folder and remove unnecessary files from your cloud storage.​
Command syntax​
​
Linux/macOS
Windows
​
​
​
./tosutil clear [checkpoint_dir] [-u] [-d] [-c] [-e=xxx] [-re=xxx] [-i=xxx] [-k=xxx] [-t=xxx] [-conf=xxx]​
​
​
​
​
Description​
For descriptions of common optional parameters, see Global options.​
​
Parameter​
Type​
Description​
checkpoint_dir​
String​
The folder from which the checkpoint files will be deleted. The default location is specified in the configuration file as defaultCheckpointDir.​
-u​
Bool​
Delete checkpoint files for all multipart upload tasks.​
-d​
Bool​
Delete checkpoint files for all multipart download tasks.​
-c​
Bool​
Delete checkpoint files for all multipart copy tasks.​
​
Example​
  • Command​
​
./tosutil clear -u​
​
  • Output​
​
Clear checkpoint files for uploading in folder [/Users/.tosutil_checkpoint/upload]​
Start at 2022-08-11 06:57:56.183432 +0000 UTC​
​
[----------------------------------------------------------------------------------------------------] 100.00% 1/1 129ms​
Succeed files is: 1 Failed files is: 0​
​
​
Last updated: 2025.12.17 18:33:42