Skip to content

Commit 11faca9

Browse files
Merge pull request #14 from gurusai-voleti/gsutil_migration
chore: Migrate gsutil usage to gcloud storage
2 parents f7ad1f2 + ce3d6ff commit 11faca9

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ inadequately processed, please contact us immediately at <a href="mailto:sanpo_d
9595

9696
## Download Data
9797
All SANPO data can be downloaded directly from our [Google Cloud Storage bucket](https://console.cloud.google.com/storage/browser/gresearch/sanpo_dataset/v0).
98-
You can also browse through the dataset and download specific files using the `gsutil cp` command:
98+
You can also browse through the dataset and download specific files using the `gcloud storage cp` command:
9999
```
100-
gsutil -m cp -r "gs://gresearch/sanpo_dataset/v0/{FILE_OR_DIR_PATH}" .
100+
gcloud storage cp -r "gs://gresearch/sanpo_dataset/v0/{FILE_OR_DIR_PATH}" .
101101
```
102-
See [here](https://cloud.google.com/storage/docs/gsutil) for instructions on installing the `gsutil` tool.
102+
See [here](https://docs.cloud.google.com/sdk/docs/install-sdk) for instructions on installing the `gcloud` tool.
103103

104104
### Selective download
105105
All of the data is fairly large (~6TB). It may be desirable to download
@@ -126,8 +126,8 @@ EXCLUDES=$EXCLUDES'|sanpo-real'
126126
# Exclude SANPO-Synthetic
127127
EXCLUDES=$EXCLUDES'|sanpo-synthetic'
128128

129-
echo Running: gsutil -m rsync -r -x \'${EXCLUDES#|}\' $SRC .
130-
gsutil -m rsync -r -x ${EXCLUDES#|} $SRC .
129+
echo Running: gcloud storage rsync $SRC . --recursive --exclude="${EXCLUDES#|}"
130+
gcloud storage rsync $SRC . --recursive --exclude="${EXCLUDES#|}"
131131
```
132132

133133
## License & Contact
@@ -147,4 +147,3 @@ If you found this dataset useful, please consider citing our paper:
147147
</pre>
148148

149149
If you have any questions about the dataset or paper, please send us an email at <a href="mailto:sanpo_dataset@google.com">sanpo_dataset@google.com</a>.
150-

0 commit comments

Comments
 (0)