I am looking for a way to pipe the data into gsutil cp:
echo '<html>foobar</html>' | gsutil cp --stdin gs://my-bucket/foo
the -I
option is for reading filepaths, not the data..gsutil help cp
says:
https://gist.github.com/ORESoftware/566d9c3d00e3858c1161ae9b741fc07e
So yeah I am looking for a way to send files to GS via stdin.