mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Aug 20 11:13:38 UTC 2025
This commit is contained in:
parent
d6d01162c7
commit
470b35e498
164 changed files with 1705 additions and 392 deletions
|
|
@ -5,7 +5,8 @@ SYNOPSIS
|
|||
gcloud artifacts files download
|
||||
(FILE : --location=LOCATION --repository=REPOSITORY)
|
||||
--destination=DESTINATION [--allow-overwrite]
|
||||
[--local-filename=LOCAL_FILENAME] [GCLOUD_WIDE_FLAG ...]
|
||||
[--local-filename=LOCAL_FILENAME] [--parallelism=PARALLELISM]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Downloads an Artifact Registry file based on file name.
|
||||
|
|
@ -18,6 +19,14 @@ EXAMPLES
|
|||
--project=my-project --repository=my-repo --destination=~/ \
|
||||
myfile
|
||||
|
||||
To download a file named myfile in project my-project under repository
|
||||
my-repo in us-central1 to the local path ~/ using parallel multipart
|
||||
download with 4 threads:
|
||||
|
||||
$ gcloud artifacts files download --location=us-central1 \
|
||||
--project=my-project --repository=my-repo --destination=~/ \
|
||||
--parallelism=4 myfile
|
||||
|
||||
To download a file named myfile in project my-project under repository
|
||||
my-repo in us-central1 to the local path ~/ with file overwriting enabled:
|
||||
|
||||
|
|
@ -79,6 +88,10 @@ OPTIONAL FLAGS
|
|||
set to the value you use for LOCAL_FILENAME. Otherwise the name of the
|
||||
downloaded file is based on the file name in the registry.
|
||||
|
||||
--parallelism=PARALLELISM
|
||||
Specifies the number of threads to use for downloading the file in
|
||||
parallel.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue