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

文档格式建议 #170

Closed
onlyice opened this issue Aug 10, 2018 · 2 comments
Closed

文档格式建议 #170

onlyice opened this issue Aug 10, 2018 · 2 comments

Comments

@onlyice
Copy link

onlyice commented Aug 10, 2018

文档页面 中,有一些使用示例:

coscmd download -r <cospath> <localpath> //命令格式
coscmd download -r /home/aaa/ bbb/aaa  //操作示例
coscmd download -r /home/aaa/ bbb/  //操作示例
coscmd download -rf / bbb/aaa  //覆盖下载当前bucket根目录下所有的文件
coscmd download -rs / bbb/aaa  //同步下载当前bucket根目录下所有的文件,跳过md5校验相同的文件
coscmd download -rs / bbb/aaa --ignore *.txt,*.doc //忽略.txt和.doc的后缀文件

建议不要用 // 作为注释符,因为 bash 里面是 # 为注释符,用户复制整行到终端运行会报错,也显得不够专业。同时建议另起一行表示注释:

# 命令格式
coscmd download -r <cospath> <localpath> 
# 覆盖下载当前bucket根目录下所有的文件
coscmd download -rf / bbb/aaa
@liuchang0812
Copy link
Contributor

👍

@lewzylu
Copy link
Collaborator

lewzylu commented Aug 10, 2018

Thank you for your suggestion

@lewzylu lewzylu closed this as completed Aug 10, 2018
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

No branches or pull requests

3 participants