summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-31 17:29:57 -0400
committerGitHub <noreply@github.com>2021-08-31 17:29:57 -0400
commitbebaef26fdd5d3ae8a29f04d36c437f316fc1bc8 (patch)
treeb23f442bf5b46855b9b4bf0e0052a5513205202d
parentdc2a3e38d97b0fb265313d811d45487a0999edbd (diff)
parentd674eb41e46fcd93547ad475c3aca4f2378509fb (diff)
downloadpodman-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
-rw-r--r--docs/source/markdown/podman-cp.1.md2
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*