七牛云: 批量下载对象存储中的图片文件

下载qshell命令行工具http://developer.qiniu.com/kodo/tools/1302/qshell#7

密钥设置

把上述文件解压会得到一个qshell-windows-x64-v2.4.2.exe程序。

在该程序的目录下 按住shift+右击,在此处打开命令行窗口,输入以下命令:

.\qshell-windows-x64-v2.4.2.exe account ak秘钥 sk秘钥 昵称名

创建配置文件

downloadImg.conf

{
  "dest_dir": ".\\images",
  "bucket":"bbs-rr",
  "cdn_domain":"pic.bbs-rr.com",
  "prefix":"",
  "suffixes":".png,.jpg"
}
参数名描述可选参数
dest_dir本地数据备份路径,为全路径N
bucket空间名称N
cdn_domain设置下载的CDN域名,默认为空表示从存储源站下载,【该功能默认需要计费,如果希望享受10G的免费流量,请自行设置cdn_domain参数,如不设置,需支付源站流量费用,无法减免!!!】N
prefix只同步指定前缀的文件,默认为空Y
suffixes只同步指定后缀的文件,默认为空Y

下载

.\qshell-windows-x64-v2.4.2.exe qdownload downloadImg.conf

评论
:broken_heart: :confounded: :flushed: :frowning: :grinning: :heart: :kissing_heart: :mask: :pensive: :rage: :relaxed: :scream: :smile: :smirk: :sob: :stuck_out_tongue_closed_eyes: :stuck_out_tongue_winking_eye: :wink: