Use Qshell qupload to batch migrate Web site images on servers to seven cow cloud

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.