Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持同名文件上传时跳过 #246

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

aslinwang
Copy link

  • upload新增-m模式,上传同名文件时跳过
coscmd -rm ./app /app
  • 优化上传时log显示,使上传结果更清晰
    image

@lewzylu
Copy link
Collaborator

lewzylu commented Aug 7, 2019

The -rm parameter can be replaced by upload -rs. #221
The log plus color is a good idea. Maybe you can commit colored log separately.

@aslinwang
Copy link
Author

-rs参数只是跳过本地和cos上md5值相同的文件,-rm参数会跳过同名文件(md5值可能不同)。新增这个参数的目的是为了防止本地文件修改后,上传时覆盖掉cos上的同名文件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants