kosa8 docs

Commands / kosa8 cloud files get

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

Options

FlagTypeWhat it doesDefault
-o, --outputstringwrite 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 .