Since the registration of two different accounts and opened seven cattle cloud, now require that all content data1 space under the account synchronized to data2 A space under the B account, now share the detailed steps:
Reference: https: //developer.qiniu.com/kodo/tools/1302/qshell
First, download qshell
下载地址:https://developer.qiniu.com/kodo/tools/1302/qshell
下载并解压,将qshell_*.exe重命名为qshell.exe
Second, run qshell
ctrl+r 打开运行 输入CMD 回车
cd到你的qshell所在目录 // cd E:\qiniu\qshell
Third, access to the backup list (address list has skipped picture, a link to a list of line)
登陆源账号即A 获取(个人中心---密钥管理)AK SK
绑定账号信息:在cmd输入
qshell account ak sk name //ak sk换成你的AK SK name随便起一个
获取所有文件列表:
qshell listbucket data1 -o list.txt
运行完成后,qshell目录下就生成了list.txt文件,需要做一些处理
用excel打开list.txt,只留下第一列 其他删除,结果:
123.jpg
124.jpg
125.jpg
借助公式批量拼接完整地址(="http://img.abc.com/"&A1 //http://img.abc.com/换成你A账户data1空间的网址):
拼接完成后,复制所有,右键----选择性粘贴----数值 只留下最后粘贴的数据,保存,就得到了带完整地址的list.txt文件
http://img.abc.com/123.jpg
http://img.abc.com/124.jpg
http://img.abc.com/125.jpg
Fourth, the new introduction space B account data2 i.e.
登陆B账号,获取(个人中心---密钥管理)AK SK
绑定账号信息:在cmd输入
qshell account ak sk name2 //ak sk换成你的AK SK name2随便起一个
上传到data2
qshell abfetch -i list.txt -e failure.txt data2
After execution, you can see the synchronized files in the new space
More detailed operation, see seven cattle development documents https://developer.qiniu.com/kodo/tools/1302/qshell