七牛云存储开发相关

Summary: Author: 张亚飞 | 阅读时间: 1 minute read | Published: 2016-03-11
Filed under Categories: LinuxTags: Note,

参见另一个 Python 七牛文件下载备份工具

qshell account Se81VMsQEbwVASh_1-SG6sU_dJUNSnSlG3OUZD1a hpvZFdL3Tw2QzvN7CYsqqZvfvhIeaNWDylFmE-YG

  • 查看七牛文件空间

  • stat

qshell stat <Bucket> <Key>

  • 查看七牛空间列表

  • stat

./qshell stat <Bucket> <Key>

  • 配置文件
{
	"dest_dir"  :   "C://Users//yafei//mm//gg",
    "bucket"    :   "cloud",
    "domain"    :   "https://oeq348hwh.qnssl.com",
    "access_key"    :   "Se81VMsQEbwVASh_1-SG6sU_dJUNSnSlG3OUZD1a",
    "secret_key"    :   "hpvZFdL3Tw2QzvN7CYsqqZvfvhIeaNWDylFmE-YG",
    "is_private"    :   false,
    "prefix"    :   "5"
}

  • 按配置 qd.conf 下载 100 个文件

  • qdownload

./qshell qdownload 100 qd.conf

Comments

Cor-Ethan, the beverage → www.iirii.com