Qshell Qupload
Official Migration Document
Https://developer.qiniu.com/kodo/kb/1685/using-qshell-synchronize-directories
Https://github.com/qiniu/qshell/blob/master/docs/qupload.md
Follow the steps to execute the command. Will be in
~/.qshell/
Directory to generate the Account.json file. Cat a bit, it is clear that the login account password.
Configuration file
"Src_dir": "/home/deploy/luminedlighting/webapps/root/resources""Key_prefix": "resources/"" Bucket ":" Luminedlighting "}
Key_prefix This parameter is the prefix added to the address before the last seven kn. My original address is like this, so I must add this now. Convenient
My original server chip address is/resources/2014/09/28/1411893118737206.jpg
Key_prefix Upload it and become 2014/09/28/1411893118737206.jpg.
The other 2 parameters should be simple.
Is the address where the file needs to be uploaded locally
It's a target bucket on a seven-ox server.
3 upload.conf
qshell qupload [<ThreadCount>] <LocalUploadConfig>
ThreadCount并发数
LocalUploadConfig 本地上传配置文件
Use Qshell qupload to batch migrate Web site images on servers to seven cow cloud