1.0.5 • Published 4 years ago

upload-to-qiniu v1.0.5

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
4 years ago

upload-to-qiniu

上传文件到七牛云对象存储,可递归上传所有目录,忽略指定前缀。

安装

npm i -g upload-to-qiniu

参数

参数必须说明默认例子
-aaccess key"access key"
-ssecret key"secret key"
-d要上传的目录"./""images"
-b空间名称"test-bucket"
-e匹配前缀不会被上传[]"images" "js"

完整示例:

upload-to-qiniu -a "access key" -s "secret key" -b test-bucket -e images tags

将当前目录所有文件上传到 test-bucket 空间,并忽略 images 和 tags 前缀。

前缀(上传文件名)的起始是执行命令的目录,例如指定上传目录为 public 那么所有文件命名都以 public 开头,忽略前缀应该为 public/images 和 public/tags。

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago