[Original] from seven cattle cloud storage file batch download

Because of the change between the front-end computer Transfer Blog space, after the transfer Bowen failed to find the source image folder transfer and has been deleted. To think of the cloud as well as a copy of the seven cattle, to think downloaded from the seven cattle cloud, but always such a downloaded image files very troublesome, collecting a lot of methods on the network description, the official went seven cattle read-point document, the official end-use qshell.exebatch download complete file is stored.

Download qshell

In the command-line tool (qshell) - seven cattle Developer Center Line Tools Download the latest version according to the needs of command. Author system is windows 10, when used for the download version v2.1.5. Mainly used to them accountand qdownloadinstructions specific use the links inquire too closely. In this excerpt use to do simple part.

qshell configuration account

Create a folder called Custom. The authors named downloadfiles.

Will begin downloading qshell.exeon the created folder.

In the folder Shift + 鼠标右键to select cmdor PowerShellopen a command line window.

With PowerShell, for example, type

.\qshell account <Your AccessKey> <Your SecretKey>

Configuring account information, AK and SK may be seven cattle net personal center section found in.

Seven cattle personal network center

Once set up you can type

.\qshell account

AK and SK configure the display.

Configuration parameter settings

In the new folder path qshell.conffiles to store configuration information, file format.

{
    "dest_dir"      : "xxxx",
    "bucket"        : "xxxx",
    "cdn_domain"    : "http://xxxx.bkt.clouddn.com/",
    "prefix"        : "",
    "suffix"        : ".png"
}

Which can then download the qshell.exe interface found on the used part introduced only this, but also details please refer to the official documentation.

| Parameter name | Description | optional parameters |
| ---- | | - |
| dest_dir | local data backup path, full path | N |
| bucket | space name | N |
| prefix | synchronize only the specified prefix file, the default is empty | the Y-|
| suffixes | synchronize only the specified file suffix, the default is empty | the Y-|
| cdn_domain | set to download CDN domain name, the default is empty for downloads from the storage source station, [the default function requires billing if you want to enjoy free traffic 10G, set cdn_domain parameters yourself, if not set, to pay the cost of outbound traffic source, not relief! ! ! ] | N |

Note : When using the Windows system below, attention dest_diris set to follow D:\\jemy\\backupthis way. That is the path inside \have two ( \\).

qdownload download instructions

Enter the command line window

.\qshell qdownload 10 qshell.conf

Make all the storage space to download the suffix ".png" file, 10 download threads.

qdownload

Also, specific parameters and definitions described below qdownload instructions.

qshell qdownload [<ThreadCount>] <LocalDownloadConfig>

| Parameter | Description | optional parameters | ranges |
| - | | - | ----- |
| ThreadCount | Download the concurrent number of co-Cheng | Y | 1-2000, if not in this range, the default to 5 |
| LocalDownloadConfig | local download configuration files, including where to download the file space, file prefix and other information, with particular reference profile Description | N | |

Guess you like

Origin www.cnblogs.com/airbird/p/11455205.html