# kosa8 cloud files get

Download a file to LOCAL (or -o FILE), else to stdout

## Usage

```
kosa8 cloud files get ID PATH [LOCAL]
```

LOCAL, like put's, is where the file goes on this machine: a file, or a folder
(ending in / or already there) to keep the sandbox file's name in. - or none
writes to stdout. -o FILE is the same as LOCAL.

Also known as: `download`, `cat`

## Flags

| Flag | Type | What it does | Default |
|---|---|---|---|
| `--output, -o` | string | write to this file (or into this folder) instead of stdout; the same as LOCAL |  |

## Example

```
  kosa8 cloud files get sbx_abc /workspace/out.json out.json
  kosa8 cloud files get sbx_abc /workspace/out.json ./results/
  kosa8 cloud files get sbx_abc /workspace/out.json | jq .
```

---
Source: https://docs.kosa8.com/reference/cloud-files-get/
