Code Monkey home page Code Monkey logo

aliyun-oss-sync's Issues

Unknown option -e

/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_block_parser.rb:19:in `block in initialize'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_block_parser.rb:35:in `call'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_block_parser.rb:35:in `rescue in parse!'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_block_parser.rb:33:in `parse!'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_parser.rb:31:in `parse!'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_parser.rb:16:in `block in parse_options'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_parser.rb:14:in `tap'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/gli_option_parser.rb:14:in `parse_options'
/usr/local/rvm/gems/ruby-2.1.5/gems/gli-2.9.0/lib/gli/app_support.rb:73:in `run'
/usr/local/rvm/gems/ruby-2.1.5/gems/aliyun-oss-sync-0.0.1/bin/aliyun-oss-sync:82:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.1.5/bin/aliyun-oss-sync:23:in `load'
/usr/local/rvm/gems/ruby-2.1.5/bin/aliyun-oss-sync:23:in `<main>'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
error: Unknown option -e

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

这个,怎么和文档上写的不一样啊。。没有-e的选项

我没弄明白这个 OSS_ACCESS_ID什么的要写在哪?

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

如上,OSS_ACCESS_ID= OSS_ACCESS_SECRET= 这两个是要写在哪个地方?你在下面还写了 aliyun-oss-sync -e http://oss-cn-shenzhen.aliyuncs.com -k xxx -s ooo push mybucket:remote_path local_path 这一条与上面的三条用途有什么区别吗

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.