Skip to main content

tigris objects get

Download an object by key. Prints to stdout by default, or saves to a file with --output.

Alias: g

Usage

tigris objects get <bucket> <key> [flags]
t3 o g <bucket> <key> [flags]

Flags

NameRequiredDefaultDescription
--output, -oNoOutput file path (if not specified, prints to stdout)
--mode, -mNoResponse mode: "string" loads into memory, "stream" writes in chunks (auto-detected from extension if not specified)

Examples

# Print object to stdout
tigris objects get my-bucket config.json

# Save object to a file (streaming for large files)
tigris objects get my-bucket archive.zip --output ./archive.zip --mode stream