如何在使用 aws cli s3 命令时不显示输出

0

【以下的问题经过翻译处理】 嗨,比尔磅,

您可以使用“--quiet”参数不显示指定命令执行的操作(不输出过程)。

例子:

aws s3 cp /tmp/foo s3://bucket/ --quiet

您还可以使用“--only-show-errors”参数,但没有参数可以让您跳过进度。 GitHub 中有一个未解决的问题:

https://github.com/aws/aws-cli/issues/519

谢谢!

profile picture
EXPERT
asked 5 months ago39 views
1 Answer
0

【以下的回答经过翻译处理】 嗨,比尔磅,

您可以使用“--quiet”参数不显示指定命令执行的操作(不输出过程)。

例子:

aws s3 cp /tmp/foo s3://bucket/ --quiet

您还可以使用“--only-show-errors”参数,但没有参数可以让您跳过进度。 GitHub 中有一个未解决的问题:

https://github.com/aws/aws-cli/issues/519

谢谢!

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions