From 4b3da75456e12a5807a36aec61d45568ebec15aa Mon Sep 17 00:00:00 2001 From: Zhaoxinxin <107842350+Liam-Zhao@users.noreply.github.com> Date: Thu, 29 Aug 2024 21:23:37 +0800 Subject: [PATCH] Docs change commands dfget example (#143) Signed-off-by: zhaoxinxin <1186037180@qq.com> --- docs/reference/commands/client/dfget.md | 12 +++++------ .../reference/commands/client/dfget.md | 20 +++++++++---------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/reference/commands/client/dfget.md b/docs/reference/commands/client/dfget.md index 542aa64..ea31bac 100644 --- a/docs/reference/commands/client/dfget.md +++ b/docs/reference/commands/client/dfget.md @@ -163,20 +163,20 @@ dfget s3:/// -O /tmp/path/ --storage-access-key-id= ```shell # Download a file. -dfget gs:/// -O /tmp/file.txt --storage-credential-path= --storage-endpoint= +dfget gs:/// -O /tmp/file.txt --storage-credential-path= # Download a directory. -dfget gs://// -O /tmp/path/ --storage-credential-path= --storage-endpoint= +dfget gs://// -O /tmp/path/ --storage-credential-path= ``` ### Download with ABS protocol {#downlad-with-abs} ```shell # Download a file. -dfget abs:/// -O /tmp/file.txt --storage-access-key-id= --storage-access-key-secret= --storage-endpoint= +dfget abs:/// -O /tmp/file.txt --storage-access-key-id= --storage-access-key-secret= # Download a directory. -dfget abs://// -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= --storage-endpoint= +dfget abs://// -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= ``` ### Download with OSS protocol {#downlad-with-oss} @@ -211,11 +211,11 @@ dfget cos:/// -O /tmp/file.txt --storage-access-key-id=// -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= --storage-endpoint= ``` + + ## Log {#log} ```text 1. set option --verbose if you want to print logs to Terminal 2. log path: /var/log/dragonfly/dfget/ ``` - - diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference/commands/client/dfget.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference/commands/client/dfget.md index 954a6cf..af5b68d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference/commands/client/dfget.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference/commands/client/dfget.md @@ -147,7 +147,7 @@ dfget https://:/ -O /tmp/file.txt -### 使用 S3 协议下载 +### Amazon Simple Storage Service(S3) 下载 ```shell # 下载文件 @@ -157,27 +157,27 @@ dfget s3:/// -O /tmp/file.txt --storage-access-key-id=/ -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= ``` -### 使用 GCS 协议下载 +### Google Cloud Storage Service(GCS) 下载 ```shell # 下载文件 -dfget gs:/// -O /tmp/file.txt --storage-credential-path= --storage-endpoint= +dfget gs:/// -O /tmp/file.txt --storage-credential-path= # 下载目录 -dfget gs://// -O /tmp/path/ --storage-credential-path= --storage-endpoint= +dfget gs://// -O /tmp/path/ --storage-credential-path= ``` -### 使用 ABS 协议下载 +### Azure Blob Storage Service(ABS) 下载 ```shell # 下载文件 -dfget abs:/// -O /tmp/file.txt --storage-access-key-id= --storage-access-key-secret= --storage-endpoint= +dfget abs:/// -O /tmp/file.txt --storage-access-key-id= --storage-access-key-secret= # 下载目录 -dfget abs://// -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= --storage-endpoint= +dfget abs://// -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= ``` -### 使用 OSS 协议下载 +### Aliyun Object Storage Service(OSS) 下载 ```shell # 下载文件 @@ -187,7 +187,7 @@ dfget oss:/// -O /tmp/file.txt --storage-access-key-id=// -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= --storage-endpoint= ``` -### 使用 OBS 协议下载 +### Huawei Cloud Object Storage Service(OBS) 下载 ```shell # 下载文件 @@ -197,7 +197,7 @@ dfget obs:/// -O /tmp/file.txt --storage-access-key-id=// -O /tmp/path/ --storage-access-key-id= --storage-access-key-secret= --storage-endpoint= ``` -### 使用 COS 协议下载 +### Tencent Cloud Object Storage Service(COS) 下载 > 注意: endpoint 不需要添加 `BucketName-APPID`,--storage-endpoint=cos.region.myqcloud.com 即可。