Reputation: 333
Option to execute shell script using gsutil is nowhere mentioned in the document. Tried some options but still no luck.I have a .sh file ,stored in a storage bucket,is there any way to execute this script using gsutil
?
Upvotes: 2
Views: 4383
Reputation: 5509
gsutil
doesn't support direct execution shell scripts, but you could pipe it to a shell, for example:
gsutil cat gs://your-bucket/your-script.sh | sh
Upvotes: 3