CLI reference

kiste scp

Copy files over the SSH transport.

kiste scp [OPTIONS] <PATH> <PATH>...
ArgumentDescription
PATH...Sources followed by the destination: local paths or NAME:/remote/path.
OptionDescription
--name NAMEKiste name, current, or self. Usually inferred from NAME:/remote/path syntax.
--downloadTreat the sources as remote. Unnecessary with NAME:/remote/path syntax.
--recursive, -rRecursively copy directories.
--preserve, -pPreserve modification times and modes.

Examples

kiste scp ./report.zip current:/workspace/
kiste scp current:/workspace/report.zip ./report.zip
kiste scp --name build --download -r /workspace/results ./results
kiste scp a.txt b.txt build:~/

Global options such as --json work with every command; see the CLI overview.