Skip to content

tsangpo/oss-rsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published