rc rm removes objects. It is a legacy-compatible command; prefer rc object remove for new scripts.
rc [GLOBAL OPTIONS] rm [OPTIONS] <PATH>...| Parameter | Description |
|---|---|
PATH |
One or more remote object or prefix paths. |
-r, --recursive |
Remove objects recursively under a prefix. |
-f, --force |
Run without interactive confirmation where required. |
--dry-run |
Show objects that would be removed. |
--versions |
Remove object versions where supported. |
--purge |
Remove all versions and delete markers under the target where supported. |
--bypass |
Bypass governance retention if the backend and credentials allow it. |
rc rm local/reports/tmp.json
rc object remove local/reports/tmp/ --recursive --dry-run
rc object remove local/reports/tmp/ --recursive --forceRecursive and version-aware deletions can remove many objects. Use --dry-run to inspect the target set before running destructive commands.
Global options shown in command syntax use the same meaning everywhere:
| Option | Description |
|---|---|
--format auto|human|json |
Select automatic, human-readable, or JSON output. |
--json |
Emit JSON output where the command supports structured output. |
--no-color |
Disable terminal colors. |
--no-progress |
Disable progress bars. |
-q, --quiet |
Suppress non-error output. |
--debug |
Enable debug logging. |