kubectl cp namespace/podname:/path/target .
If I use the instructed command from kubernetes guide, it only copies the contents inside the target
directory and omits target
itself.
I don't want to use mkdir
every time I need to copy.
What's the option?