0.1.0 • Published 7 years ago

oss-sync-tool v0.1.0

Weekly downloads
7
License
ISC
Repository
-
Last release
7 years ago

使用方法

*. 请在要进行同步的目录下添加ossConfig.js,内容如下:

module.exports = {
    region: 'oss-cn-beijing',
    bucket: '<Your Bucket Name>',
    accessKeyId: '<Your AccessKey Id>',
    accessKeySecret: '<Your AccessKey Secret>',
    directory: 'test' //注意最后不能加斜杠
};

*. 执行命令oss-sync -t 项目目录,如果是在项目目录下执行此命令,则无需声明-t