tcb storage rm
Delete a cloud file or folder.
v3.0.0+
tcb storage rm has been available since v3.0.0 and replaces the deprecated tcb storage delete.
Usage
tcb storage rm <cloudPath> [options]
Parameters
| Parameter | Required | Description | Default |
|---|---|---|---|
<cloudPath> | Yes | Cloud file or folder path | — |
--dir | No | Delete a folder recursively | false |
--recursive | No | Same as --dir | false |
--force | No | Skip the delete confirmation | false |
--dry-run | No | List the files to delete without deleting them | false |
Review the scope with --dry-run before a batch delete.
Examples
tcb storage rm images/photo.jpg
tcb storage rm backup/ --dir --dry-run
tcb storage rm backup/ --dir