Skip to main content
Push a local file or folder to object storage. Talos reads the provider profile saved by credentials:create, expands --from into one or more objects, and uploads them under --destination.

Usage

Examples

Push a folder to Cloudflare R2:
Push one file to Amazon S3:
Push one archive instead of individual files:
Suppress progress and summary output:

Options

Providers

What gets uploaded

A file uploads as one object under --destination with the file name appended. A folder uploads every file under it, using each file path relative to that folder. Directory entries are sorted by relative path before upload. With --zip, Talos creates one in-memory zip archive. A folder named dist uploads as dist.zip; a file named index.html uploads as index.html.zip and is stored inside the archive as index.html.

Output

Without --silent, Talos shows a loader while uploads run. On success it prints Pushed N object(s) to <destination>. If any object fails, it prints each failed key and message, prints a pushed/failed summary, and exits with code 1.