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

Add a silent or quiet mode for gsutil #106

Closed
jterrace opened this issue Feb 22, 2013 · 4 comments
Closed

Add a silent or quiet mode for gsutil #106

jterrace opened this issue Feb 22, 2013 · 4 comments

Comments

@jterrace
Copy link
Contributor

Original author: sethladd@google.com (August 02, 2012 17:40:03)

We use gsutil in our scripts which run on linux, mac, and windows. We'd like gsutil to run in silent or quiet mode to avoid cluttering up our logs with lots and lots of upload statements.

Thanks!

Original issue: http://code.google.com/p/gsutil/issues/detail?id=108

@jterrace
Copy link
Contributor Author

From mfschwa...@google.com on August 04, 2012 02:22:06
This already exists in the latest version of gsutil:
The cp -q option does what you're asking for.
Note that the current public release has some logic missing for this option (still will output progress messages for resumable transfers). I fixed those problems in the next version of gsutil. You can get the pre-release version that fixes those problems (and also supports the new setmeta command) by running:

gsutil update gs://prerelease/gsutil_3.15_PRE.tar.gz

@jterrace
Copy link
Contributor Author

From sethladd@google.com on August 06, 2012 18:24:40
Thanks for the update!

@twistedpair
Copy link

The cp -q option does what you're asking for.

Correction, the proper flag location, since gsutil is flag position sensitive, is:

gsutil -q cp gs://foo/bar .

@zymotik
Copy link

zymotik commented Sep 26, 2022

An environment variable would be ace!

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

No branches or pull requests

3 participants