Created
October 8, 2011 03:40
-
-
Save lyhcode/1271820 to your computer and use it in GitHub Desktop.
Groovy using s3cmd upload file to amazon s3 aws.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmd = "s3cmd put -P filename s3://contpub/filename" | |
proc = cmd.execute() | |
proc.waitFor() | |
println proc.in.text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment