GoogleCloudPlatform / GoogleCloudPlatform/gsutil

du summary with wildcard should report top-level summaries

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

Description

If you run `du -s /tmp/*`, you'll see a summary for each matching file and directory in `/tmp`. The same with `gsutil du -s gs://bucket/*` will show only a single summary at the end. Instead, it should provide a summary for each implicit "subdirectory" and object at the root of the bucket.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `gsutil du -s gs://bucket/*` and compare its output with `du -s /tmp/*`. Trace the `du` command's wildcard and summary handling; done means the command reports separate summaries for each root-level object and implicit subdirectory rather than one final total.

Written by the indexing model from the issue text.

Assessment

Tech stack
gcp, python
Domain
cli, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.