Skip to main content

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​

ParameterRequiredDescriptionDefault
<cloudPath>YesCloud file or folder path—
--dirNoDelete a folder recursivelyfalse
--recursiveNoSame as --dirfalse
--forceNoSkip the delete confirmationfalse
--dry-runNoList the files to delete without deleting themfalse

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