Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.26 KB

File metadata and controls

44 lines (32 loc) · 1.26 KB

rc ls

Purpose

rc ls lists buckets or objects. It is a legacy-compatible command; prefer rc bucket list for bucket workflows and rc object list for object workflows.

Syntax

rc [GLOBAL OPTIONS] ls [OPTIONS] <PATH>

Parameters

Parameter Description
PATH ALIAS/ to list buckets, or ALIAS/BUCKET[/PREFIX] to list objects.
-r, --recursive Recursively list objects.
--versions Show object versions where supported.
--incomplete Include incomplete multipart uploads.
--summarize Show totals only.

Examples

rc ls local/
rc ls local/reports --recursive
rc bucket list local/reports --versions

Behavior

When PATH contains only an alias, rc ls lists buckets. When it contains a bucket, it lists objects under the optional prefix.

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.