Uploading to S3 in 18 lines of Shell
gist.github.com
Uploading to S3 in 18 lines of Shell
1–10 of 23 posts
Re: Uploading to S3 in 18 lines of Shell
#2Re: Uploading to S3 in 18 lines of Shell
#3Searching GitHub for S3SECRET and S3KEY might get interesting if this script gets used a lot.
People have crawled github for these in the past and turned up some pretty "interesting" results...
Re: Uploading to S3 in 18 lines of Shell
#4OK curl is installed by default but if you have to install this script anyway, it's only a `pip install` away...
Re: Uploading to S3 in 18 lines of Shell
#5Searching GitHub for S3SECRET and S3KEY might get interesting if this script gets used a lot.
Re: Uploading to S3 in 18 lines of Shell
#6aws s3 cp src dest... OK curl is installed by default but if you have to install this script anyway, it's only a `pip install` away...
Re: Uploading to S3 in 18 lines of Shell
#7aws s3 cp src dest... OK curl is installed by default but if you have to install this script anyway, it's only a `pip install` away...
Some platforms and environments don't have pip handy, or you might not have root access, or you can't install new software for any number of reasons, or the required libraries are not installed. curl and /bin/sh and openssl are more universal, so it's good to be able to do what you need to do without resorting to installing software.
Re: Uploading to S3 in 18 lines of Shell
#8aws s3 cp src dest... OK curl is installed by default but if you have to install this script anyway, it's only a `pip install` away...
Some platforms and environments don't have pip handy, or you might not have root access, or you can't install new software for any number of reasons, or the required libraries are not installed. curl and /bin/sh and openssl are more universal, so it's good to be able to do what you need to do without resorting to installing software.
Re: Uploading to S3 in 18 lines of Shell
#9Earlier quoted context omitted.
Some platforms and environments don't have pip handy, or you might not have root access, or you can't install new software for any number of reasons, or the required libraries are not installed. curl and /bin/sh and openssl are more universal, so it's good to be able to do what you need to do without resorting to installing software.
Exactly my thinking. Nice to have one thing less to install on a new Jenkins node, for example.
Re: Uploading to S3 in 18 lines of Shell
#10Earlier quoted context omitted.
Some platforms and environments don't have pip handy, or you might not have root access, or you can't install new software for any number of reasons, or the required libraries are not installed. curl and /bin/sh and openssl are more universal, so it's good to be able to do what you need to do without resorting to installing software.
Exactly my thinking. Nice to have one thing less to install on a new Jenkins node, for example.