GoogleCloudPlatform / GoogleCloudPlatform/gsutil

Listing only directories does not work

Open
#466 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

$ gsutil ls -d 'gs://XXX/test/**/'
gs://XXX/test/
gs://XXX/test/336x280.swf.gz

So it lists not only directories (ending with `/`) but also regular files (ending with `.gz` for instance).

But this command should list only directories.

$ gsutil --version
gsutil version: 4.27

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.