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
Option | Description |
---|---|
--dry-run, -n | simulate files download, don't actually do it |
--force, -f | overwrite existing destination files |
--help, -h | help for download |
--recursive, -r | download prefix recursively |
Options inherited from parent commands
Option | Description |
---|---|
--config, -C | Specify an alternate config file [env EXOSCALE_CONFIG] |
--output-format, -O | Output format (table|json|text), see "exo output –help" for more information |
--output-template | Template to use if output format is "text" |
--quiet, -Q | Quiet mode (disable non-essential command output) |
--use-account, -A | Account to use in config file [env EXOSCALE_ACCOUNT] |
Related Commands
- storage - Object Storage management