GoogleCloudPlatform / GoogleCloudPlatform/gsutil
gsutil cp missing --parents
Open
- Dominant language
- Python
- Stars
- 918
- Forks
- 335
- PR merge metrics
- No merged PRs in 30d
Description
gsutil cp does not offer the --parents flag.
for example, doing `gsutil cp gs://my-bucket/**/pom.xml .` will end up with only one file on disk rather than all of the pom.xml files in the bucket. I would like to have `cp` preserve the parents of each copied file as in `cp --parents` on GNU cp.
Achieving this functionality by copying one by one and specifying the destination from outside gsutil is possible but slow.
Contributor guide
Assessment
This issue has not been assessed yet.