Skip to content

RuanShan/aliyun-oss-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aliyun-oss-sync

阿里云OSS同步工具

安装

gem install aliyun-oss-sync

同步

本地文件同步到OSS

OSS_ACCESS_ID=your-access-id \
OSS_ACCESS_SECRET=your-access-secret \
aliyun-oss-sync push bucket名称:远程目录 本地目录

OSS文件同步到本地

OSS_ACCESS_ID=your-access-id \
OSS_ACCESS_SECRET=your-access-secret \
aliyun-oss-sync pull bucket名称:远程目录 本地目录

参数

NAME
    aliyun-oss-sync - aliyun oss sync

SYNOPSIS
    aliyun-oss-sync [global options] command [command options] [arguments...]

VERSION
    0.0.1

GLOBAL OPTIONS
    --help           - Show this message
    -k, --key=arg    - aliyun access key id (default: none)
    -s, --secret=arg - aliyun access key secret (default: none)
    --version        - Display the program version

COMMANDS
    help - Shows a list of commands or help for one command
    pull - pull files from Aliyun OSS to local directory
    push - push files from local directory to Aliyun OSS
    sync - sync files between local directory and Aliyun OSS

About

command line tool for aliyun oss syncing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 97.3%
  • Gherkin 2.7%