Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

gcloud storage rsync discarding metadata unlike gsutil rsync

Hello,

If I understand correctly, it is recommended to switch away from gsutil in favor of gcloud storage. While updating our internal scripts, I have noticed that the latter disregards metadata when it comes to rsync. I actually got the impression that it works occasionally, but occasionally it does not, and I am not sure what the failure mode is exactly. I wonder if it is as intended or a bug.

For gsutil, the situation is clear:

https://cloud.google.com/storage/docs/gsutil/commands/rsync#copying-in-the-cloud-and-metadata-preser...

For gcloud storage rsync, there is no such paragraph:

https://cloud.google.com/sdk/gcloud/reference/storage/rsync

Thank you!

 

0 0 432
0 REPLIES 0