You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there is now a note "Important: gsutil is not the recommended CLI for Cloud Storage. Use gcloud storage commands in the Google Cloud CLI instead."
Is there an explanation somewhere about the difference between "gsutil rsync" and "gcloud storage rsync"? Examining the python files in my google-cloud-sdk installation shows they are quite different but it's not clear to me if the features are actually any different.
So for example my original command
/usr/bin/gsutil -m rsync -C -e -P -r -x '(.gnupg|..fifo..|.cache|.Icon\r$|.fifo)' /data/dataset1 gs://backup-dataset1
will turn into
gcloud storage rsync -c --ignore-symlinks -P -r -x '(.gnupg|..fifo..*|.cache|.*Icon\r$|.fifo)' /data/dataset1 gs://backup-dataset1
but what's the difference? Do they hit the same REST API underneath anyway?
The text was updated successfully, but these errors were encountered:
per
https://cloud.google.com/storage/docs/gsutil/commands/rsync
I see there is now a note "Important: gsutil is not the recommended CLI for Cloud Storage. Use gcloud storage commands in the Google Cloud CLI instead."
Is there an explanation somewhere about the difference between "gsutil rsync" and "gcloud storage rsync"? Examining the python files in my google-cloud-sdk installation shows they are quite different but it's not clear to me if the features are actually any different.
So for example my original command
/usr/bin/gsutil -m rsync -C -e -P -r -x '(.gnupg|..fifo..|.cache|.Icon\r$|.fifo)' /data/dataset1 gs://backup-dataset1
will turn into
gcloud storage rsync -c --ignore-symlinks -P -r -x '(.gnupg|..fifo..*|.cache|.*Icon\r$|.fifo)' /data/dataset1 gs://backup-dataset1
but what's the difference? Do they hit the same REST API underneath anyway?
The text was updated successfully, but these errors were encountered: