1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Dec 20 10:06:06 UTC 2023

This commit is contained in:
Automated 2023-12-20 10:06:06 +00:00
parent a990278fb3
commit 94c3362cff
127 changed files with 1438 additions and 194 deletions

View file

@ -1,5 +1,5 @@
NAME
gcloud storage du - displays the amount of space in bytes used up storage
gcloud storage du - displays the amount of space in bytes used by storage
resources
SYNOPSIS
@ -12,8 +12,13 @@ SYNOPSIS
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Displays the amount of space in bytes used up by the objects in a bucket,
subdirectory, or project.
Displays the amount of space in bytes used by the objects in a bucket,
subdirectory, or project. This command calculates the current space usage
by making a series of object listing requests, which can take a long time
for large buckets. If your bucket contains hundreds of thousands of
objects, or if you want to monitor your bucket size over time, use
Monitoring instead, as described in Get bucket size
(https://cloud.google.com/storage/docs/getting-bucket-size)
EXAMPLES
To list the size of each object in a bucket:
@ -64,8 +69,8 @@ FLAGS
listed object.
--exclude-name-pattern=EXCLUDE_NAME_PATTERN, -e EXCLUDE_NAME_PATTERN
Exclude a pattern from the report. Example: -e ".o" excludes any object
that ends in ".o". Can be specified multiple times.
Exclude a pattern from the report. Example: -e "*.o" excludes any
object that ends in ".o". Can be specified multiple times.
--exclude-name-pattern-file=EXCLUDE_NAME_PATTERN_FILE, -X EXCLUDE_NAME_PATTERN_FILE
Similar to -e, but excludes patterns from the given file. The patterns

View file

@ -45,7 +45,7 @@ COMMANDS
Upload, download, and copy Cloud Storage objects.
du
Displays the amount of space in bytes used up storage resources.
Displays the amount of space in bytes used by storage resources.
hash
Calculates hashes on local or cloud files.