You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd.Flags().StringVarP(&info.Domain, "domain", "", "", "domain of request")
121
121
cmd.Flags().StringVarP(&info.Domain, "cdn-domain", "", "", "set the CDN domain name for downloading, the default is empty, which means downloading from the storage source site")
cmd.Flags().BoolVarP(&info.CheckHash, "check-hash", "", false, "check the consistency of the hash between the local file and the server file. the download fails while the file is inconsistent.")
125
125
cmd.Flags().BoolVarP(&info.CheckSize, "check-size", "", false, "check the consistency of the file size between the local file and the server file. the download fails while the file is inconsistent.")
126
126
cmd.Flags().BoolVarP(&info.UseGetFileApi, "get-file-api", "", false, "public storage cloud not support, private storage cloud support when has getfile api.")
cmd.Flags().IntVar(&info.UploadConfig.WorkerCount, "worker-count", 3, "the number of concurrently uploaded parts of a single file in resumable upload")
cmd.Flags().Int64Var(&info.ResumableAPIV2PartSize, "resumable-api-v2-part-size", data.BLOCK_SIZE, "the part size when use resumable upload v2 APIs to upload")
73
73
cmd.Flags().BoolVar(&info.IgnoreDir, "ignore-dir", false, "ignore the dir in the dest file key")
74
-
cmd.Flags().BoolVarP(&info.Overwrite, "overwrite", "w", false, "overwrite the file of same key in bucket")
74
+
cmd.Flags().BoolVarP(&info.Overwrite, "overwrite", "", false, "overwrite the file of same key in bucket")
75
75
cmd.Flags().BoolVar(&info.CheckExists, "check-exists", false, "check file key whether in bucket before upload")
cmd.Flags().Int64VarP(&info.ChunkSize, "resumable-api-v2-part-size", "", data.BLOCK_SIZE, "the part size when use resumable upload v2 APIs to upload, default 4M")
cmd.Flags().Int64VarP(&info.ChunkSize, "resumable-api-v2-part-size", "", data.BLOCK_SIZE, "the part size when use resumable upload v2 APIs to upload, default 4M")
Copy file name to clipboardExpand all lines: docs/qdownload2.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Flags:
23
23
--check-hash whether to verify the hash, if it is enabled, it may take a long time
24
24
--dest-dir string local storage path, full path. default current dir
25
25
--enable-slice --slice-file-size-threshold whether to enable slice download, you need to pay attention to the configuration of --slice-file-size-threshold slice threshold option. Only when slice download is enabled and the size of the downloaded file is greater than the slice threshold will the slice download be started
26
-
-f, --failure-list string specifies the file path where the failure file list is saved
26
+
-e, --failure-list string specifies the file path where the failure file list is saved
27
27
--get-file-api public storage cloud not support, private storage cloud support when has getfile api.
28
28
-h, --help help for qdownload2
29
29
--io-host string io host of request
@@ -42,5 +42,5 @@ Flags:
42
42
--slice-size int slice size; when using slice download, the size of each slice; unit:B (default 4194304)
43
43
-s, --success-list string specifies the file path where the successful file list is saved
44
44
--suffixes string only download files with the specified suffixes
45
-
-c, --thread int num of threads to download files (default 5)
45
+
-c, --thread-count int num of threads to download files (default 5)
0 commit comments