diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-08-31 17:29:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 17:29:57 -0400 |
commit | bebaef26fdd5d3ae8a29f04d36c437f316fc1bc8 (patch) | |
tree | b23f442bf5b46855b9b4bf0e0052a5513205202d /docs/source | |
parent | dc2a3e38d97b0fb265313d811d45487a0999edbd (diff) | |
parent | d674eb41e46fcd93547ad475c3aca4f2378509fb (diff) | |
download | podman-bebaef26fdd5d3ae8a29f04d36c437f316fc1bc8.tar.gz podman-bebaef26fdd5d3ae8a29f04d36c437f316fc1bc8.tar.bz2 podman-bebaef26fdd5d3ae8a29f04d36c437f316fc1bc8.zip |
Merge pull request #11375 from vrothberg/fix-11346
[CI:DOCS] podman cp: highlight globbing and multi-file copy
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-cp.1.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-cp.1.md b/docs/source/markdown/podman-cp.1.md index 79edf26ed..1929bed1f 100644 --- a/docs/source/markdown/podman-cp.1.md +++ b/docs/source/markdown/podman-cp.1.md @@ -52,6 +52,8 @@ Using `-` as the **src_path** streams the contents of `STDIN` as a tar archive. Note that `podman cp` ignores permission errors when copying from a running rootless container. The TTY devices inside a rootless container are owned by the host's root user and hence cannot be read inside the container's user namespace. +Further note that `podman cp` does not support globbing (e.g., `cp dir/*.txt`). If you want to copy multiple files from the host to the container you may use xargs(1) or find(1) (or similar tools for chaining commands) in conjunction with `podman cp`. If you want to copy multiple files from the container to the host, you may use `podman mount CONTAINER` and operate on the returned mount point instead (see ALTERNATIVES below). + ## OPTIONS #### **--archive**, **-a**=**true** | *false* |