exo storage download

Description

This command downloads files from a bucket.

If no destination argument is provided, files will be stored into the current directory.

Examples:

# Download a single file
exo storage download sos://my-bucket/file-a

# Download a single file and rename it locally
exo storage download sos://my-bucket/file-a file-z

# Download a prefix recursively
exo storage download -r sos://my-bucket/public/ /tmp/public/
exo storage download sos://BUCKET/[OBJECT|PREFIX/] [DESTINATION] [flags]

Options

OptionDescription
--dry-run, -nsimulate files download, don't actually do it
--force, -foverwrite existing destination files
--help, -hhelp for download
--recursive, -rdownload prefix 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