r0f*_*0f1 6 google-cloud-platform google-dl-platform
是否有类似findorgrep的命令可用于搜索我的 Google 存储桶?
我只能找到ls,但这并不是我所需要的。我想搜索包含特定字符串或匹配特定正则表达式的特定文件夹名称和文件名。
小智 10
您可以使用您的系统grep:
gsutil ls gs://[BUCKET_NAME]/** | grep {string or regexp}
Run Code Online (Sandbox Code Playgroud)
无需使用-r,因为**文件夹结构已经扁平化。
| 归档时间: |
|
| 查看次数: |
13264 次 |
| 最近记录: |