Script to find/replace objects with suffix \n
in a gcs bucket
#2894
raj-prince
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
google-cloud-storage
:pip3 install google-cloud-storage
\n
, you can usegcloud storage mv
to rename that object. E.g.gcloud storage mv "gs://my_bucket/\n" gs://my_bucket/newprefix
Beta Was this translation helpful? Give feedback.
All reactions