oss-rsync
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

oss-rsync

About

A command line tool/lib for sync local files to remote aliyun oss.

Install

  npm i oss-rsync

Usage

  oss-rsync $from_local_dir $remote_url_or_config_file [$remote_prefix]

json file format:

{
  /** access secret you create */
  accessKeyId: string;
  /** access secret you create */
  accessKeySecret: string;
  /** the default bucket you want to access If you don't have any bucket, please use putBucket() create one first. */
  bucket?: string;
  /** oss region domain. It takes priority over region. */
  endpoint?: string;
  /** the bucket data region location, please see Data Regions, default is oss-cn-hangzhou. */
  region?: string;
}

Readme

Keywords

none

Package Sidebar

Install

npm i oss-rsync

Weekly Downloads

7

Version

1.0.7

License

ISC

Unpacked Size

43.1 kB

Total Files

7

Last publish

Collaborators

  • tsangpo