johnfl68 has asked for the wisdom of the Perl Monks concerning the following question:
Anyone using Google's GSUTIL in Perl?
How did you handle suppressing output for standard operations?
I have this for example:
$cmd = "gsutil cp -a public-read $localfile gs://g3.mydomain.com/tempd +irectory/$filehash.png"; system $cmd;
With S3CMD (for Amazon S3) I just added ">/dev/null" to the end of the command line, and then I only get warnings. However with GSUTIL, doing so I still get the same output from the script every time it is run.
Google's GSUTIL is still fairly new, so in searching I haven't found much on people using this in perl scripts, so I thought I would post here to see if anyone has had any experiences with this.
Thanks!
John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Anyone using gsutil?
by Anonymous Monk on Mar 09, 2013 at 23:44 UTC | |
by johnfl68 (Scribe) on Mar 10, 2013 at 07:00 UTC |