exo storage upload

Description

This command uploads local files to a bucket.

Examples:

# Upload files at the root of the bucket
exo storage upload a b c sos://my-bucket

# Upload files in a directory (trailing "/" in destination)
exo storage upload index.html sos://my-bucket/public/

# Upload a file under a different name
exo storage upload a.txt sos://my-bucket/z.txt

# Upload a directory recursively
exo storage upload -r my-files/ sos://my-bucket
exo storage upload FILE... sos://BUCKET/[PREFIX/] [flags]

Options

OptionDescription
--aclcanned ACL to set on object (private|public-read|public-read-write|authenticated-read|aws-exec-read|bucket-owner-read|bucket-owner-full-control)
--dry-run, -nsimulate files upload, don't actually do it
--help, -hhelp for upload
--recursive, -rupload directories recursively

Options inherited from parent commands

OptionDescription
--config, -CSpecify an alternate config file [env EXOSCALE_CONFIG]
--output-format, -OOutput format (table|json|text), see "exo output –help" for more information
--output-templateTemplate to use if output format is "text"
--quiet, -QQuiet mode (disable non-essential command output)
--use-account, -AAccount to use in config file [env EXOSCALE_ACCOUNT]

Related Commands

  • storage - Object Storage management