目的:使用七牛云命令行工具同步本地的资源文件到服务器上
工具:qshell 的 qupload 命令
下载:https://developer.qiniu.com/kodo/tools/1302/qshell#7
使用命令
> qshell account ak sk > qshell buckets > minipay jeekcartoon cartoonstatic //创建一个conf配置同步信息 upload.conf { "src_dir" : "/Users/yangfei/Documents/codes/yisen/project/jeekcartoon/public/assets/","bucket" : "cartoonstatic","key_prefix" : "assets/"} qshell qupload 1 /Users/yangfei/Documents/codes/yisen/project/jeekcartoon/public/assets/qupload.conf 等待~
保证看懂整个教程才可以使用。否则造成的文件丢失!!!!