talos/docs/osctl/osctl_cp.md
Andrew Rynhard 127fa54a76 docs: add docs command to osctl
This allows osctl to generate documentation for itself.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-11-13 17:14:53 -08:00

1014 B

osctl cp

Copy data out from the node

Synopsis

Creates an .tar.gz archive at the node starting at and streams it back to the client.

If '-' is given for , archive is written to stdout. Otherwise archive is extracted to which should be an empty directory or osctl creates a directory if doesn't exist. Command doesn't preserve ownership and access mode for the files in extract mode, while streamed .tar archive captures ownership and permission bits.

osctl cp <src-path> -|<local-path> [flags]

Options

  -h, --help   help for cp

Options inherited from parent commands

      --talosconfig string   The path to the Talos configuration file (default "/root/.talos/config")
  -t, --target strings       target the specificed node

SEE ALSO

  • osctl - A CLI for out-of-band management of Kubernetes nodes created by Talos
Auto generated by spf13/cobra on 13-Nov-2019