Skip to content
Search

Kubectl:cp

lastmod 2026-02-21created 2026-02-211 edits

How it works

  • Upload: packs local files into a tar archive and streams it to the stdin of the tar -xf - -C<dest> command
  • Download: <code>tar -cf - -C<dir>

    <file></code> receives tar data from the command's stdout and extracts it locally

See also

author Zer0 sitemap