# 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 (creating the folder tree if needed)
    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&#39;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 &#34;exo output --help&#34; for more information |
|`--output-template` | Template to use if output format is &#34;text&#34; |
|`--quiet, -Q` | Quiet mode (disable non-essential command output) |
|`--timeout` | Per-zone timeout for list operations; -1s disables timeout [env EXOSCALE_TIMEOUT] |
|`--use-account, -A` | Account to use in config file [env EXOSCALE_ACCOUNT] |


### Related Commands

* [storage]({{< ref "../storage">}})	 - Object Storage management


