目的:使用七牛雲命令行工具同步本地的資源文件到服務器上shell
工具: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 等待~
保證看懂整個教程纔可使用。不然形成的文件丟失!!!!code